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

Disassembly:
push 0xffffffffffffffff
push 0x5630b8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5b7b5c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b7b5c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8c]
mov esi, dword [esp + 0x88]
mov ebp, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], ebp
lea eax, [ebp + 0x288]
test esi, esi
jne 0x48376a
lea eax, [ebp + 0x284]
mov edi, dword [eax]
mov dword [esp + 0x50], edi
test edi, edi
je 0x483a83
mov eax, edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x483780
sub eax, edx
sar eax, 1
mov ebx, eax
mov dword [esp + 0x54], ebx
je 0x483a83
mov eax, dword [ebp + 0x170]
xor ecx, ecx
test eax, eax
setg cl
mov dword [esp + 0x4c], ecx
call fcn.005089db
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4837c6
push 0x80004005
call fcn.00401340
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [0x5ed0c0]
add ecx, 0xeac
mov dword [esp + 0x84], 0
call fcn.00504a78
mov edx, dword [esp + 0x18]
mov eax, dword [edx - 0xc]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x5c], eax
call dword [sym.imp.USER32.dll_SetRect]
mov dword [esp + 0x28], 0
test esi, esi
je 0x48382d
mov edx, dword [ebp + 0x150]
mov dword [esp + 0x20], edx
jmp 0x483837
mov eax, dword [ebp + 0x14c]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
dec ecx
cmp ecx, 4
ja 0x483849
mov dword [esp + 0x28], 1
push 1
push 0
push 1
push 0
push 0
lea edx, [esp + 0x40]
push edx
push ebx
push edi
mov ecx, ebp
call fcn.00480040
test eax, eax
je 0x483a58
xor esi, esi
mov dword [esp + 0x1c], 0
cmp dword [esp + 0x28], esi
je 0x4838d2
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x64]
push 0x57e888
push ecx
call fcn.00409bf0
add esp, 0xc
push esi
lea edx, [esp + 0x64]
push edx
lea ecx, [ebp + 0x1e8]
call fcn.004c6020
test eax, eax
je 0x4838c7
mov dword [esp + 0x1c], eax
mov edx, eax
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4838b0
mov ebx, dword [esp + 0x30]
sub eax, esi
sar eax, 1
mov esi, eax
jmp 0x4838eb
mov ebx, dword [esp + 0x30]
mov edx, 0x57bc10
jmp 0x4838eb
mov ebx, dword [esp + 0x30]
mov ecx, dword [ebp + 0x334]
lea eax, [ebx + ebx*8]
mov edx, dword [ecx + eax*4 + 8]
lea eax, [ecx + eax*4]
mov eax, dword [eax]
lea esi, [eax - 1]
xor eax, eax
lea ecx, [ecx]
movzx ecx, word [edx + eax*2]
mov edi, 0x20
cmp di, cx
je 0x483908
mov edi, 9
cmp di, cx
jne 0x48390f
cmp eax, esi
jge 0x48390f
inc eax
jmp 0x4838f0
sub esi, eax
lea edi, [edx + eax*2]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x48394a
mov edx, dword [esp + 0x18]
push 0
push eax
push edx
push esi
push 0
push edi
call fcn.0046e540
add esp, 0x18
test eax, eax
jge 0x483946
mov eax, dword [esp + 0x1c]
push eax
call fcn.004ff96a
add esp, 4
jmp 0x483a1c
mov ebx, dword [esp + 0x30]
xor ebp, ebp
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], esi
cmp dword [esp + 0x4c], ebp
je 0x4839ac
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x170]
xor esi, esi
test edx, edx
jle 0x4839ac
add ecx, 0x168
test esi, esi
jl 0x483ad5
cmp esi, dword [ecx + 8]
jge 0x483ad5
mov eax, dword [ecx + 4]
lea eax, [eax + esi*8]
mov eax, dword [eax]
cmp ebx, eax
jl 0x483aa4
je 0x483ac7
inc esi
cmp esi, edx
jl 0x483980
mov edi, dword [esp + 0x14]
mov esi, dword [edi + 0x170]
add edi, 0x168
test esi, esi
jl 0x483ad5
push 0xffffffffffffffff
lea ecx, [esi + 1]
push ecx
mov ecx, edi
call fcn.00470800
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x24]
mov dword [eax + esi*8], edx
mov dword [eax + esi*8 + 4], ebp
mov esi, dword [edi + 8]
test esi, esi
jl 0x483ad5
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
mov ecx, edi
call fcn.0048a590
mov edx, dword [edi + 4]
lea ecx, [esi + esi*2]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x54]
push 1
xor esi, esi
push esi
push 1
push esi
push esi
inc edx
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x68]
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x4c], esi
call fcn.00480040
cmp eax, esi
jne 0x483869
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x80], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483a83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0053f73f
add esp, 0x70
ret 8
push 1
lea edx, [esp + 0x5c]
push edx
push esi
call fcn.00473810
mov ecx, dword [esp + 0x24]
push 1
lea eax, [esp + 0x40]
push eax
push esi
call fcn.004739a0
jmp 0x483a18
push edi
call fcn.004ff96a
add esp, 4
jmp 0x483a18
call fcn.00507f95
int3