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

Disassembly:
push 0xffffffffffffffff
push 0x546193
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x579aa4]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x579aa4]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x174]
mov dword [esp + 0x28], ebp
xor edi, edi
mov dword [esp + 0x168], edi
mov esi, dword [esp + 0x170]
cmp esi, edi
sete al
test al, al
jne 0x4383b9
mov ebx, dword [esp + 0x178]
cmp ebx, edi
je 0x4383b9
mov byte [esp + 0x17], al
cmp byte [0x57f104], al
jne 0x437993
cmp byte [esp + 0x17c], al
je 0x437985
mov eax, 0x57f0e8
call fcn.00402660
test al, al
jne 0x437993
cmp byte [esp + 0x184], 0
je 0x4382ac
cmp byte [esp + 0x17c], 0
je 0x4381c9
lea eax, [esp + 0x1c]
push edi
push eax
mov ecx, ebp
call fcn.004416e0
add esp, 8
mov byte [esp + 0x168], 1
mov eax, dword [esp + 0x170]
cmp eax, edi
jne 0x4379ce
push 0x80004003
call fcn.0050a1f0
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
mov esi, 7
xor ecx, ecx
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], edi
mov word [esp + 0xb8], cx
mov edx, dword [esp + 0x180]
push edx
lea eax, [esp + 0xb8]
push eax
mov byte [esp + 0x170], 2
push ecx
mov ecx, dword [esp + 0x17c]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x17c]
mov dword [esp + 0x30], esp
cmp eax, edi
je 0x437a33
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
test byte [0x57ec18], 1
jne 0x437a4d
or dword [0x57ec18], 1
mov ecx, 0x57ec1c
call fcn.00401620
cmp byte [0x57ec28], 0
je 0x437a6d
mov eax, dword [0x57ec1c]
cmp eax, 0x64
je 0x437a6d
push 0x64
push eax
push 5
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x437a72
mov eax, 5
mov ecx, dword [esp + 0x44]
sub ecx, eax
sub ecx, dword [esp + 0x3c]
mov edx, ebx
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.0043fad0
add esp, 0x10
cmp al, 1
jne 0x438167
push ebp
lea ecx, [esp + 0x9c]
call fcn.00402a80
xor edx, edx
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], edi
mov word [esp + 0xd4], dx
lea eax, [esp + 0x18]
push eax
lea ebx, [edx + 1]
mov byte [esp + 0x16c], 4
xor eax, eax
lea edx, [esp + 0xb8]
xor esi, esi
mov dword [esp + 0x1c], 0xa
call fcn.00449cc0
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
je 0x437eca
mov dword [esp + 0x40], 0x20
mov ebp, dword [esp + 0x20]
mov edx, ebp
sub edx, esi
push edx
xor ecx, ecx
push esi
lea eax, [esp + 0xbc]
mov word [esp + 0x88], cx
push eax
lea ecx, [esp + 0x88]
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], 0
call fcn.004032b0
lea edi, [esp + 0x40]
lea ebx, [esp + 0x7c]
call fcn.00449da0
mov ebx, 7
xor ecx, ecx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], 0
mov word [esp + 0x64], cx
mov byte [esp + 0x168], 6
cmp eax, 0xffffffff
je 0x437b89
mov edx, dword [esp + 0x90]
sub edx, eax
push edx
inc eax
push eax
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x6c]
call fcn.004032b0
cmp dword [esp + 0x74], 0
jne 0x437b91
lea esi, [ebp + 1]
jmp 0x437e4f
mov byte [esp + 0x17], 1
jmp 0x437ba5
mov ebx, 7
xor edi, edi
cmp byte [esp + 0x17], 0
je 0x437e4a
mov edx, 0x20
mov esi, 1
xor eax, eax
mov dword [esp + 0x5c], ebx
mov word [esp + 0x48], dx
mov dword [esp + 0x58], esi
mov word [esp + 0x4a], ax
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x50]
mov byte [esp + 0x174], bl
call fcn.004031a0
push 0x20
push esi
mov ecx, eax
call fcn.0040c360
push 0xffffffffffffffff
push edi
xor edx, edx
push eax
lea ecx, [esp + 0xf8]
mov dword [esp + 0x110], ebx
mov dword [esp + 0x10c], edi
mov word [esp + 0xfc], dx
call fcn.004032b0
mov ebp, 8
cmp dword [esp + 0x5c], ebp
jb 0x437c32
mov eax, dword [esp + 0x48]
push eax
call fcn.0050c4ec
add esp, 4
mov ecx, 0x5d
xor edx, edx
mov dword [esp + 0x5c], ebx
mov word [esp + 0x48], cx
mov dword [esp + 0x58], esi
mov word [esp + 0x4a], dx
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x174], 0xa
call fcn.004031a0
push 0x20
push esi
mov ecx, eax
call fcn.0040c360
push 0xffffffffffffffff
xor ecx, ecx
push edi
mov word [esp + 0x114], cx
push eax
lea ecx, [esp + 0x114]
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x128], edi
call fcn.004032b0
cmp dword [esp + 0x5c], ebp
jb 0x437ca9
mov edx, dword [esp + 0x48]
push edx
call fcn.0050c4ec
add esp, 4
mov eax, 0x5d
xor ecx, ecx
mov dword [esp + 0x5c], ebx
mov word [esp + 0x48], ax
mov dword [esp + 0x58], esi
mov word [esp + 0x4a], cx
push 0xffffffffffffffff
push edi
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0x174], 0xd
call fcn.004031a0
push 0x5b
push esi
mov ecx, eax
call fcn.0040c360
push 0xffffffffffffffff
xor ecx, ecx
push edi
mov word [esp + 0x130], cx
push eax
lea ecx, [esp + 0x130]
mov dword [esp + 0x148], ebx
mov dword [esp + 0x144], edi
call fcn.004032b0
cmp dword [esp + 0x5c], ebp
jb 0x437d20
mov edx, dword [esp + 0x48]
push edx
call fcn.0050c4ec
add esp, 4
mov eax, 0x20
xor ecx, ecx
mov dword [esp + 0x5c], ebx
mov word [esp + 0x48], ax
mov dword [esp + 0x58], esi
mov word [esp + 0x4a], cx
push 0xffffffffffffffff
push edi
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0x174], 0x10
call fcn.004031a0
push 0x5b
push esi
mov ecx, eax
call fcn.0040c360
push 0xffffffffffffffff
xor ecx, ecx
push edi
mov word [esp + 0x14c], cx
push eax
lea ecx, [esp + 0x14c]
mov dword [esp + 0x164], ebx
mov dword [esp + 0x160], edi
call fcn.004032b0
cmp dword [esp + 0x5c], ebp
jb 0x437d97
mov edx, dword [esp + 0x48]
push edx
call fcn.0050c4ec
add esp, 4
mov byte [esp + 0x168], 0x11
mov dword [esp + 0x18], edi
xor ebp, ebp
lea edi, [esp + 0xf0]
lea esp, [esp]
cmp dword [edi + 0x14], 8
jb 0x437dba
mov edx, dword [edi]
jmp 0x437dbc
mov edx, edi
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x437dc1
sub eax, esi
sar eax, 1
push edx
mov ebx, eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x9c]
call fcn.00449cc0
cmp eax, 0xffffffff
jne 0x437f14
inc ebp
add edi, 0x1c
cmp ebp, 4
jl 0x437db0
mov edx, dword [esp + 0x74]
push 1
dec edx
push edx
lea ecx, [esp + 0x68]
call fcn.00403620
mov eax, dword [esp + 0x90]
test eax, eax
je 0x437e21
push 1
dec eax
push eax
lea ecx, [esp + 0x84]
call fcn.00403620
push fcn.00402ac0
push 4
push 0x1c
lea eax, [esp + 0xf8]
push eax
mov byte [esp + 0x178], 6
call fcn.00514b80
cmp dword [esp + 0x74], 0
jne 0x437ba0
mov esi, dword [esp + 0x20]
inc esi
lea ecx, [esp + 0x18]
push ecx
mov ebx, 1
mov eax, esi
lea edx, [esp + 0xb8]
mov dword [esp + 0x1c], 0xa
call fcn.00449cc0
mov edi, 8
mov dword [esp + 0x20], eax
cmp dword [esp + 0x78], edi
jb 0x437e8b
mov edx, dword [esp + 0x64]
push edx
call fcn.0050c4ec
add esp, 4
mov byte [esp + 0x168], 4
xor eax, eax
mov word [esp + 0x64], ax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 7
cmp dword [esp + 0x94], edi
jb 0x437ebf
mov ecx, dword [esp + 0x80]
push ecx
call fcn.0050c4ec
add esp, 4
cmp dword [esp + 0x20], 0xffffffff
jne 0x437af5
mov eax, dword [esp + 0x9c]
mov esi, 8
cmp dword [esp + 0xb0], esi
jae 0x437ee6
lea eax, [esp + 0x9c]
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00404ad0
mov byte [esp + 0x16c], 0x14
mov ecx, dword [esp + 0x174]
test ecx, ecx
jne 0x438105
push 0x80004003
call fcn.0050a1f0
mov ecx, dword [esp + 0x74]
lea ebp, [eax + ecx + 1]
xor edx, edx
push ebp
push edx
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], dx
call fcn.004032b0
mov byte [esp + 0x168], 0x12
mov ecx, dword [esp + 0x48]
mov ebx, 8
cmp dword [esp + 0x5c], ebx
jae 0x437f61
lea ecx, [esp + 0x48]
lea edx, [esp + 0x24]
push 1
push edx
call fcn.004416e0
add esp, 8
mov byte [esp + 0x168], 0x13
mov ecx, dword [eax]
mov esi, dword [esp + 0x1c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x437fd4
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x437fc6
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x437fc6
push eax
call fcn.00405dd0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x437fb8
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x1c], ebx
mov ebx, 8
jmp 0x437fd4
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.004056d0
mov byte [esp + 0x168], 0x12
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437ffc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x168], 0x11
cmp dword [esp + 0x5c], ebx
jb 0x438017
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0050c4ec
add esp, 4
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0xd4]
lea esi, [esp + 0x48]
call fcn.0044afd0
add esp, 4
cmp dword [eax + 0x18], ebx
jb 0x438039
mov eax, dword [eax + 4]
jmp 0x43803c
add eax, 4
mov ecx, dword [esp + 0x1c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x438066
test dx, dx
je 0x438062
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x438066
add eax, 4
add ecx, 4
test dx, dx
jne 0x438040
xor eax, eax
jmp 0x43806b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov esi, 8
sete bl
cmp dword [esp + 0x5c], esi
jb 0x438088
mov eax, dword [esp + 0x48]
push eax
call fcn.0050c4ec
add esp, 4
test bl, bl
jne 0x438096
inc ebp
mov dword [esp + 0x18], ebp
jmp 0x437da3
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0xdc]
call fcn.004031a0
mov eax, dword [esp + 0xac]
cmp ebp, eax
jae 0x4380ed
jbe 0x4380c0
call fcn.0050dcae
mov eax, dword [esp + 0x9c]
cmp dword [esp + 0xb0], esi
jae 0x4380d7
lea eax, [esp + 0x9c]
cmp word [eax + ebp*2], 0x20
jne 0x4380ed
push 1
push ebp
lea ecx, [esp + 0xa0]
call fcn.00403620
mov edi, ebp
lea esi, [esp + 0x98]
call fcn.00448d90
mov byte [esp + 0x17], 0
jmp 0x437e21
mov byte [esp + 0x16c], 4
call fcn.0044e390
mov byte [esp + 0x17], 1
cmp dword [esp + 0xe8], esi
jb 0x438130
mov edx, dword [esp + 0xd4]
push edx
call fcn.0050c4ec
add esp, 4
xor eax, eax
lea ecx, [esp + 0x98]
mov dword [esp + 0xe8], 7
mov dword [esp + 0xe4], 0
mov word [esp + 0xd4], ax
call fcn.00402ac0
mov ebp, dword [esp + 0x28]
mov esi, 7
xor edi, edi
cmp dword [esp + 0xcc], 8
jb 0x438181
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.0050c4ec
add esp, 4
xor edx, edx
mov byte [esp + 0x168], dl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov word [esp + 0xb8], dx
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], edi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43829a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x43829a
cmp esi, edi
jne 0x4381d7
push 0x80004003
call fcn.0050a1f0
mov ecx, dword [esi]
mov eax, dword [ecx + 0x40]
lea edx, [esp + 0x30]
push edx
push esi
call eax
xor ecx, ecx
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], edi
mov word [esp + 0x48], cx
mov edx, dword [esp + 0x180]
push edx
lea eax, [esp + 0x48]
push eax
push ecx
mov bl, 0x15
mov byte [esp + 0x174], bl
lea edx, [esp + 0x17c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00449200
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x184]
push eax
mov ecx, ebp
call fcn.0043fad0
add esp, 0x10
cmp al, 1
jne 0x438289
cmp dword [esp + 0x5c], 8
mov eax, dword [esp + 0x48]
jae 0x43824e
lea eax, [esp + 0x48]
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00404ad0
mov byte [esp + 0x16c], 0x16
mov ecx, dword [esp + 0x174]
cmp ecx, edi
jne 0x438278
push 0x80004003
call fcn.0050a1f0
mov byte [esp + 0x16c], bl
call fcn.0044e390
mov byte [esp + 0x17], 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x168], 0
call fcn.00402ac0
cmp byte [esp + 0x17], 0
jne 0x438373
mov ebx, dword [esp + 0x178]
mov eax, ebp
cmp ebp, edi
jne 0x4382b7
mov eax, 0x55cd84
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00404ad0
mov byte [esp + 0x16c], 0x17
mov ecx, dword [esp + 0x174]
cmp ecx, edi
jne 0x4382e1
push 0x80004003
call fcn.0050a1f0
mov byte [esp + 0x16c], 0
call fcn.0044e390
cmp byte [0x57f104], 0
jne 0x438373
mov eax, dword [esp + 0x170]
cmp eax, edi
jne 0x43830c
push 0x80004003
call fcn.0050a1f0
mov ecx, dword [eax]
lea edx, [esp + 0x60]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x17c]
push edi
push edi
push edi
push eax
push ecx
mov ecx, dword [esp + 0x184]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x184]
mov dword [esp + 0x3c], esp
cmp eax, edi
je 0x438357
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
call fcn.004411d0
mov ecx, dword [esp + 0x54]
sub ecx, dword [esp + 0x4c]
add esp, 0x18
cmp edx, ecx
mov dword [esp + 0x28], eax
setg byte [esp + 0x17]
mov eax, dword [esp + 0x170]
cmp eax, edi
jne 0x438388
push 0x80004003
call fcn.0050a1f0
mov edx, dword [eax]
push 1
push eax
mov eax, dword [edx + 0x9c]
call eax
mov dword [esp + 0x168], 0xffffffff
mov eax, dword [esp + 0x170]
cmp eax, edi
je 0x4383b3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, byte [esp + 0x17]
jmp 0x4383d2
mov dword [esp + 0x168], 0xffffffff
cmp esi, edi
je 0x4383d0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
xor al, al
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.0050c75f
add esp, 0x158
ret