Function at 0x437390
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a3e4b
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov edi, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
lea ecx, [esp + 0x4c]
push 0xb8
mov edx, ecx
push esi
push edx
mov dword [esp + 0x124], esi
mov dword [esp + 0x1c], ecx
call fcn.004e5fc0
add esp, 0xc
lea eax, [edi + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 0xbc], esi
je 0x437467
mov eax, dword [edi + 0xb8]
mov ebx, dword [eax]
mov eax, dword [edi + 0xa4]
lea esi, [edi + 0xa4]
test eax, eax
jne 0x437463
call fcn.004e73ca
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x437442
call fcn.004e73ca
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
mov ecx, dword [esi]
mov ebx, dword [ebx + 8]
push eax
push ecx
lea edx, [esp + 0x44]
push edx
mov ecx, esi
mov dword [esp + 0x28], ebx
call fcn.00437160
jmp 0x437550
mov eax, dword [eax]
jmp 0x437438
cmp dword [edi + 0xd8], esi
je 0x4374b2
mov eax, dword [edi + 0xd4]
mov ebx, dword [eax]
mov eax, dword [edi + 0xc0]
lea esi, [edi + 0xc0]
test eax, eax
jne 0x4374ae
call fcn.004e73ca
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x437498
call fcn.004e73ca
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
mov ecx, dword [esi]
mov ebx, dword [ebx + 8]
push eax
push ecx
lea edx, [esp + 0x44]
push edx
jmp 0x43753d
mov eax, dword [eax]
jmp 0x43748e
cmp dword [edi + 0xf4], esi
je 0x4374fc
mov eax, dword [edi + 0xf0]
mov ecx, dword [eax]
mov edx, dword [edi + 0xdc]
lea esi, [edi + 0xdc]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edx
call fcn.004366c0
mov ebx, dword [eax]
mov eax, dword [esi + 0x14]
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
push ecx
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
mov dword [esp + 0x28], ebx
call fcn.00437160
jmp 0x437550
cmp dword [edi + 0x110], esi
je 0x437602
mov ecx, dword [edi + 0xf8]
mov edx, dword [edi + 0x10c]
mov eax, dword [edx]
lea esi, [edi + 0xf8]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], eax
call fcn.004366c0
mov ebx, dword [eax]
mov edx, dword [esi + 0x14]
mov eax, dword [edx]
mov ecx, dword [esi]
push eax
push ecx
lea eax, [esp + 0x44]
push eax
mov ecx, esi
mov dword [esp + 0x28], ebx
call fcn.00437160
mov dword [esp + 0x28], 1
test ebx, ebx
je 0x437602
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
lea esi, [edi + 0x84]
push edx
mov ecx, esi
call fcn.00437240
mov eax, dword [esi + 0x18]
mov dword [esp + 0x40], eax
mov eax, dword [esi]
mov esi, dword [esp + 0x14]
test esi, esi
je 0x437584
cmp esi, eax
je 0x437589
call fcn.004e73ca
mov ebx, dword [esp + 0x18]
cmp ebx, dword [esp + 0x40]
je 0x437602
mov dword [esp + 0x20], 1
test esi, esi
jne 0x4377e3
call fcn.004e73ca
cmp ebx, dword [esi + 0x18]
jne 0x4375b2
call fcn.004e73ca
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 0xc]
mov esi, dword [eax]
mov ebx, dword [eax + 8]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], edx
test eax, eax
je 0x4375df
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x58], 0
test esi, esi
je 0x4375ee
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x60], eax
mov ecx, dword [ebx + 0xb4]
mov dword [esp + 0x100], ecx
lea eax, [edi + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x20], 0
je 0x437d0b
cmp dword [esp + 0x28], 0
mov dword [esp + 0x4c], 0xb8
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x20], 0
je 0x4377ea
lea eax, [edi + 0x6c]
push eax
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
lea esi, [edi + 0x84]
push eax
mov ecx, esi
call fcn.00437240
mov ecx, dword [esi + 0x18]
mov eax, dword [esp + 0x14]
mov esi, dword [esi]
mov dword [esp + 0x40], ecx
test eax, eax
je 0x437672
cmp eax, esi
je 0x437677
call fcn.004e73ca
mov edx, dword [esp + 0x40]
cmp dword [esp + 0x18], edx
je 0x4377b5
lea ecx, [esp + 0x14]
call fcn.00436900
mov eax, dword [eax + 4]
mov esi, dword [eax + 8]
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x10]
mov dword [edx + 8], ecx
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x4376aa
mov eax, 0x5e8ee8
mov ecx, dword [esp + 0x10]
push eax
call fcn.00434d00
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x14], eax
mov edx, dword [esi + 0x1c]
mov eax, dword [esp + 0x10]
mov dword [eax + 0x1c], edx
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x10]
mov dword [edx + 0x20], ecx
mov eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x24], eax
mov edx, dword [esi + 0x28]
mov eax, dword [esp + 0x10]
mov dword [eax + 0x28], edx
mov ecx, dword [esi + 0x2c]
mov edx, dword [esp + 0x10]
mov dword [edx + 0x2c], ecx
mov eax, dword [esi + 0x30]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x30], eax
mov edx, dword [esi + 0x34]
mov eax, dword [esp + 0x10]
mov dword [eax + 0x34], edx
mov ecx, dword [esi + 0x38]
mov edx, dword [esp + 0x10]
mov dword [edx + 0x38], ecx
mov eax, dword [esi + 0x3c]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x3c], eax
mov edx, dword [esi + 0x40]
mov eax, dword [esp + 0x10]
mov dword [eax + 0x40], edx
mov ecx, dword [esi + 0x44]
mov edx, dword [esp + 0x10]
mov dword [edx + 0x44], ecx
mov eax, dword [esi + 0x48]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x48], eax
mov edx, dword [esi + 0x4c]
mov eax, dword [esp + 0x10]
mov dword [eax + 0x4c], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x50]
mov dword [eax + 0x50], ecx
mov edx, dword [esi + 0x54]
mov dword [eax + 0x54], edx
mov ecx, dword [esi + 0x58]
mov dword [eax + 0x58], ecx
mov edx, dword [esi + 0x5c]
mov dword [eax + 0x5c], edx
mov ecx, dword [esp + 0x10]
add eax, 0x50
mov eax, dword [esi + 0x74]
mov dword [ecx + 0x74], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x78]
mov dword [eax + 0x78], edx
mov cl, byte [esi + 0x7c]
mov edx, dword [esp + 0x10]
mov byte [edx + 0x7c], cl
mov ax, word [esi + 0x9c]
mov ecx, dword [esp + 0x10]
mov word [ecx + 0x9c], ax
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x7d]
lea eax, [esi + 0x7d]
add ecx, 0x7d
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ebx, 1
lea eax, [edi + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x4378e6
mov edx, dword [esp + 0x24]
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
mov ecx, edi
call fcn.00435110
mov dword [esp + 0x20], eax
jmp 0x4378e6
mov esi, dword [esi]
jmp 0x4375a8
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0xc], 0
je 0x4377f9
mov eax, dword [ecx + 0xc]
jmp 0x4377fe
mov eax, 0x5e8ee8
movzx eax, word [eax]
mov edx, 0x63
cmp dx, ax
ja 0x437811
cmp ax, 0x66
jbe 0x43781a
add eax, 0xffffffbd
cmp ax, 3
ja 0x437837
mov eax, dword [esp + 0x24]
push ecx
push eax
mov ecx, edi
call fcn.00435090
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4378e6
mov ecx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
cmp dword [ecx + 0xc], eax
je 0x437853
mov ecx, dword [ecx + 0xc]
jmp 0x437858
mov ecx, 0x5e8ee8
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
lea edx, [esp + 0x48]
push edx
push ecx
call fcn.00486aa0
add esp, 0x14
test eax, eax
je 0x4378e6
mov eax, dword [esp + 0x10]
mov dword [eax + 0xb4], 0x10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x7d], ecx
mov edx, dword [esp + 0x40]
add eax, 0x7d
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x10]
push eax
push ecx
mov ecx, edi
call fcn.00435090
mov dword [esp + 0x20], eax
test eax, eax
je 0x4378db
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0xc], 0
je 0x4378c9
mov eax, dword [ecx + 0xc]
jmp 0x4378ce
mov eax, 0x5e8ee8
add ecx, 0x30
push ecx
push eax
call fcn.004735a0
add esp, 8
mov edx, dword [esp + 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi + 0x6c]
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
lea esi, [edi + 0x84]
push ecx
mov ecx, esi
call fcn.00437240
mov edi, dword [esp + 0x14]
mov ebx, dword [esi + 0x18]
mov esi, dword [esi]
test edi, edi
je 0x43791c
cmp edi, esi
je 0x437921
call fcn.004e73ca
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x437d00
test edi, edi
jne 0x437a84
call fcn.004e73ca
cmp esi, dword [edi + 0x18]
jne 0x437944
call fcn.004e73ca
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 0x10]
mov dword [edx + 0xc], eax
test eax, eax
je 0x437cf5
lea ecx, [esp + 0x14]
call fcn.00436900
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [ecx], 0xb8
lea ecx, [esp + 0x14]
call fcn.00436900
mov edx, dword [eax + 4]
mov eax, dword [edx + 8]
lea ecx, [esp + 0x14]
mov dword [eax + 0x10], 0xffffffff
call fcn.00436900
cmp dword [esp + 0x28], 0
jne 0x437a8b
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x14]
mov dword [edx + 0x2c], eax
call fcn.00436900
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x14]
mov dword [edx + 0x30], eax
call fcn.00436900
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x14]
mov dword [edx + 0x34], eax
call fcn.00436900
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
mov edx, dword [esp + 0x84]
mov dword [eax + 0x38], edx
mov ecx, dword [esp + 0x88]
mov dword [eax + 0x3c], ecx
lea ecx, [esp + 0x14]
call fcn.00436900
mov edx, dword [eax + 4]
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0x40], ecx
mov edx, dword [esp + 0x90]
lea ecx, [esp + 0x14]
mov dword [eax + 0x44], edx
call fcn.00436900
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x94]
mov dword [ecx + 0x48], edx
lea ecx, [esp + 0x14]
call fcn.00436900
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x98]
mov dword [ecx + 0x4c], edx
lea ecx, [esp + 0x14]
call fcn.00436900
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x9c]
add eax, 0x50
mov dword [eax], ecx
mov edx, dword [esp + 0xa0]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0xa4]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0xa8]
mov dword [eax + 0xc], edx
jmp 0x437aff
mov edi, dword [edi]
jmp 0x43793a
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0xac]
mov dword [ecx + 0x60], edx
lea ecx, [esp + 0x14]
call fcn.00436900
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0xb0]
mov dword [ecx + 0x64], edx
lea ecx, [esp + 0x14]
call fcn.00436900
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0xb4]
mov dword [ecx + 0x68], edx
lea ecx, [esp + 0x14]
call fcn.00436900
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0xb8]
mov dword [ecx + 0x6c], edx
lea ecx, [esp + 0x14]
call fcn.00436900
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0xbc]
mov dword [ecx + 0x70], edx
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x437b0c
mov eax, 0x5e8ee8
push eax
lea ecx, [esp + 0x18]
call fcn.00436900
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
call fcn.00434d00
lea ecx, [esp + 0x14]
call fcn.00436900
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0xc0]
lea ecx, [esp + 0x14]
mov dword [edx + 0x74], eax
call fcn.00436900
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0xc4]
lea ecx, [esp + 0x14]
mov dword [edx + 0x78], eax
call fcn.00436900
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov al, byte [esp + 0xc8]
lea ecx, [esp + 0x14]
mov byte [edx + 0x7c], al
call fcn.00436900
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
mov edx, dword [esp + 0xc9]
add eax, 0x7d
mov dword [eax], edx
mov ecx, dword [esp + 0xcd]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0xd1]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0xd5]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0xdc]
test eax, eax
jne 0x437bb5
mov eax, 0x5e8ee8
push eax
lea ecx, [esp + 0x18]
call fcn.00436900
mov edx, dword [eax + 4]
mov ecx, dword [edx + 8]
call fcn.00434d40
mov eax, dword [esp + 0xe0]
test eax, eax
jne 0x437bda
mov eax, 0x5e8ee8
push eax
lea ecx, [esp + 0x18]
call fcn.00436900
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
call fcn.00434d90
mov eax, dword [esp + 0xe4]
test eax, eax
jne 0x437bff
mov eax, 0x5e8ee8
push eax
lea ecx, [esp + 0x18]
call fcn.00436900
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 8]
call fcn.00434de0
lea ecx, [esp + 0x14]
call fcn.00436900
mov edx, dword [eax + 4]
mov eax, dword [edx + 8]
mov cx, word [esp + 0xe8]
mov word [eax + 0x9c], cx
mov eax, dword [esp + 0xec]
test eax, eax
jne 0x437c42
mov eax, 0x5e8ee8
push eax
lea ecx, [esp + 0x18]
call fcn.00436900
mov edx, dword [eax + 4]
mov ecx, dword [edx + 8]
call fcn.00434e30
mov eax, dword [esp + 0xf0]
test eax, eax
jne 0x437c67
mov eax, 0x5e8ee8
push eax
lea ecx, [esp + 0x18]
call fcn.00436900
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
call fcn.00434e80
lea ecx, [esp + 0x14]
call fcn.00436900
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0xf4]
lea ecx, [esp + 0x14]
mov dword [edx + 0xa8], eax
call fcn.00436900
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0xf8]
mov edx, dword [ecx + 8]
mov dword [edx + 0xac], eax
mov eax, dword [esp + 0xfc]
test eax, eax
jne 0x437cc4
mov eax, 0x5e8ee8
push eax
lea ecx, [esp + 0x18]
call fcn.00436900
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 8]
call fcn.00434ed0
lea ecx, [esp + 0x14]
call fcn.00436900
mov edx, dword [eax + 4]
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x100]
mov dword [eax + 0xb4], ecx
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x4c]
call fcn.00434c70
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.004e5fb0
mov esp, ebp
pop ebp
ret 4