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

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov edi, dword [esp + 0x20]
mov ebp, ecx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov esi, dword [ebp + 0x2c]
sub esi, 1
js 0x483497
lea esp, [esp]
cmp esi, ebx
jl 0x483481
cmp esi, dword [ebp + 0x2c]
jge 0x483481
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax + esi*4]
jmp 0x483483
xor ecx, ecx
mov edx, dword [ecx]
mov eax, dword [esp + 0x2c]
mov edx, dword [edx + 0x80]
push eax
call edx
sub esi, 1
jns 0x483470
push ebx
mov ecx, ebp
call fcn.00483170
test eax, eax
jle 0x483779
mov eax, dword [ebp + 0x2c]
xor ecx, ecx
mov edx, 0x38
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041b40f
mov ecx, eax
mov eax, dword [ebp + 0x2c]
add esp, 4
test eax, eax
mov dword [esp + 0x10], ecx
jle 0x48356e
lea esi, [ecx + 0x30]
test ebx, ebx
jl 0x4834f0
cmp ebx, eax
jge 0x4834f0
cmp ebx, dword [ebp + 0x2c]
jge 0x483583
mov eax, dword [ebp + 0x28]
mov edi, dword [eax + ebx*4]
jmp 0x4834f2
xor edi, edi
lea ecx, [esi - 0x20]
push ecx
mov dword [esi - 4], 0
mov dword [esi], 0
call dword [sym.imp.user32.dll_SetRectEmpty]
mov eax, dword [esp + 0x24]
mov edx, dword [edi]
mov edx, dword [edx + 0x78]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call edx
mov ecx, dword [eax]
mov dword [esi - 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esi - 0xc], edx
mov eax, dword [edi + 0x64]
mov dword [esi - 0x30], eax
mov ecx, dword [edi + 0x68]
mov dword [esi - 0x2c], ecx
mov edx, dword [edi + 0x6c]
mov dword [esi - 0x28], edx
mov eax, dword [edi + 0x70]
mov dword [esi - 0x24], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 4], ecx
mov edx, dword [edi + 0x74]
and edx, 0xfffffffd
neg edx
sbb edx, edx
add edx, 1
mov dword [esi - 8], edx
mov eax, dword [ebp + 0x2c]
add ebx, 1
add esi, 0x38
cmp ebx, eax
jl 0x4834d7
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x2c]
test bl, 4
je 0x483588
mov eax, dword [ebp + 0x20]
mov edx, dword [eax + 0x5c]
mov dword [esp + 0x28], edx
jmp 0x48358c
call fcn.0041d387
mov edx, dword [esp + 0x28]
test ebx, 0x100
mov esi, dword [esp + 0x30]
je 0x4835d9
mov eax, dword [ebp + 0x20]
lea edx, [esp + 0x2c]
push edx
mov edx, dword [eax + 0x5c]
push edx
push ecx
mov ecx, ebp
call fcn.00482930
mov ebx, dword [esp + 0x10]
push 0
push 0
push ebx
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call fcn.004827b0
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push ecx
push edx
push ebx
mov ecx, ebp
call fcn.00482930
mov ebx, dword [esp + 0x2c]
jmp 0x483634
test bl, 8
je 0x4835f7
sub edx, dword [esi + 8]
lea eax, [esp + 0x2c]
sub edx, dword [esi]
push eax
push edx
push ecx
mov ecx, ebp
call fcn.00482930
mov ebx, dword [esp + 0x2c]
jmp 0x483634
test bl, 0x10
je 0x483616
sub edx, dword [esi + 0xc]
lea eax, [esp + 0x2c]
sub edx, dword [esi + 4]
push eax
push edx
push ecx
mov ecx, ebp
call fcn.00482930
mov ebx, dword [esp + 0x2c]
jmp 0x483634
test bl, 0x20
je 0x483623
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
jmp 0x483628
mov eax, dword [esi + 8]
add eax, dword [esi]
push ebx
sub edx, eax
push edx
push ecx
mov ecx, ebp
call fcn.00482a80
mov eax, ebx
and eax, 0x10
push eax
mov ecx, ebx
and ecx, 0x40
push ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, ebp
mov dword [esp + 0x3c], eax
call fcn.004827b0
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x34]
test eax, eax
mov dword [edi + 4], edx
jle 0x483690
test bl, 8
je 0x483683
sub eax, dword [esi + 0xc]
mov ecx, edx
sub eax, dword [esi + 4]
cmp eax, ecx
jg 0x48367e
mov eax, ecx
mov dword [edi + 4], eax
jmp 0x483690
sub eax, dword [esi + 8]
sub eax, dword [esi]
cmp eax, ecx
jg 0x48368e
mov eax, ecx
mov dword [edi], eax
test bl, 1
je 0x4836c3
cmp dword [esp + 0x2c], 0
mov eax, dword [esp + 0x28]
je 0x4836b4
sub eax, dword [esi + 0xc]
mov ecx, dword [edi + 4]
sub eax, dword [esi + 4]
cmp eax, ecx
jg 0x4836af
mov eax, ecx
mov dword [edi + 4], eax
jmp 0x4836c3
sub eax, dword [esi + 8]
mov ecx, dword [edi]
sub eax, dword [esi]
cmp eax, ecx
jg 0x4836c1
mov eax, ecx
mov dword [edi], eax
mov ecx, dword [esi]
mov edx, dword [esi + 4]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 8], ecx
push ebx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x24]
push edi
push eax
mov ecx, ebp
call fcn.00482cf0
cmp dword [esp + 0x20], 0
je 0x483760
mov ecx, dword [esi]
mov edx, dword [esi + 4]
push ebx
mov ebx, dword [esp + 0x14]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [edi]
mov dword [eax + 0xc], edx
mov eax, dword [edi + 4]
push eax
push ecx
push ebx
mov ecx, ebp
call fcn.00482e70
mov eax, dword [ebp + 0x2c]
xor esi, esi
test eax, eax
jle 0x483760
jmp 0x483730
test esi, esi
jl 0x483749
cmp esi, eax
jge 0x483749
cmp esi, dword [ebp + 0x2c]
jge 0x483583
mov edx, dword [ebp + 0x28]
mov eax, dword [edx + esi*4]
jmp 0x48374b
xor eax, eax
push eax
mov ecx, ebx
call fcn.00482300
mov eax, dword [ebp + 0x2c]
add esi, 1
add ebx, 0x38
cmp esi, eax
jl 0x483730
mov eax, dword [esp + 0x10]
push eax
call fcn.0041b414
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x18
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 8]
add ecx, dword [eax]
mov edx, dword [eax + 0xc]
add edx, dword [eax + 4]
test byte [esp + 0x2c], 8
lea eax, [ecx + 0x17]
lea ecx, [edx + 0x16]
mov dword [edi], eax
mov dword [edi + 4], ecx
je 0x4837b5
mov eax, ecx
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jle 0x4837a6
mov eax, ecx
mov dword [edi + 4], eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x18
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jle 0x4837bf
mov eax, ecx
mov dword [edi], eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x18