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

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x3c]
and eax, 0x10
mov dword [esp], ecx
mov dword [esp + 4], eax
je 0x482e8d
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x38]
jmp 0x482e95
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x34]
mov eax, dword [ecx + 0x2c]
push ebx
push ebp
push esi
sub eax, 1
push edi
mov dword [esp + 0x1c], eax
js 0x482f42
mov edi, dword [esp + 0x30]
lea esi, [eax*8]
sub esi, eax
lea esi, [edi + esi*8]
lea esp, [esp]
cmp dword [esi + 0x28], 0
je 0x482f2e
cmp dword [esi + 0x30], 0
jne 0x482f2e
test eax, eax
jl 0x482edd
cmp eax, dword [ecx + 0x2c]
jge 0x482edd
mov edi, dword [ecx + 0x28]
mov eax, dword [edi + eax*4]
jmp 0x482edf
xor eax, eax
test byte [eax + 0x78], 1
je 0x482f42
cmp dword [esp + 0x14], 0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov ebp, dword [esi + 8]
mov ebx, dword [esi + 0xc]
jne 0x482f08
sub eax, ebp
lea edi, [eax + edx]
cmp edi, dword [esp + 0x44]
jl 0x482f3e
push ebx
push edx
push ecx
push edi
jmp 0x482f17
sub ecx, ebx
lea edi, [ecx + edx]
cmp edi, dword [esp + 0x40]
jl 0x482f3e
push edx
push ebp
push edi
push eax
push esi
call dword [sym.imp.user32.dll_SetRect]
cmp dword [esi + 0x2c], 0
mov ecx, dword [esp + 0x10]
mov edx, edi
jne 0x482f42
mov eax, dword [esp + 0x1c]
sub eax, 1
sub esi, 0x38
test eax, eax
mov dword [esp + 0x1c], eax
jge 0x482ec0
jmp 0x482f42
mov ecx, dword [esp + 0x10]
xor ebp, ebp
cmp dword [esp + 0x14], ebp
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x18], 0
je 0x482f64
mov edi, dword [esp + 0x38]
sub edi, dword [esp + 0x48]
jmp 0x482f6c
mov edi, dword [esp + 0x34]
sub edi, dword [esp + 0x44]
mov eax, dword [ecx + 0x2c]
add eax, 0xffffffff
test eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
jl 0x48315a
lea ecx, [eax - 1]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x30]
lea edx, [eax*8]
sub edx, eax
lea ecx, [ecx + edx*8 + 0x28]
mov dword [esp + 0x28], ecx
mov edi, edi
cmp dword [ecx], 0
je 0x48302d
mov ebx, dword [ecx + 8]
test ebx, ebx
jne 0x48302d
test ebp, ebp
mov esi, dword [esp + 0x10]
jne 0x482fde
test eax, eax
jl 0x482fc9
cmp eax, dword [esi + 0x2c]
jge 0x482fc9
mov edx, dword [esi + 0x28]
mov edx, dword [edx + eax*4]
jmp 0x482fcb
xor edx, edx
test byte [edx + 0x78], 1
je 0x482fde
mov edx, dword [esp + 0x24]
mov edi, dword [ecx - 0x28]
mov dword [esp + 0x20], edx
jmp 0x483000
test eax, eax
jl 0x482fef
cmp eax, dword [esi + 0x2c]
jge 0x482fef
mov edx, dword [esi + 0x28]
mov edx, dword [edx + eax*4]
jmp 0x482ff1
xor edx, edx
test byte [edx + 0x78], 0x20
je 0x483000
mov ebp, 1
add dword [esp + 0x18], ebp
cmp dword [esp + 0x4c], 0xffffffff
jne 0x483024
cmp dword [esp + 0x20], eax
jl 0x483024
cmp dword [esp + 0x14], 0
jne 0x483019
mov esi, dword [ecx - 0x20]
jmp 0x48301c
mov esi, dword [ecx - 0x1c]
mov edx, edi
sub edx, esi
mov dword [esp + 0x4c], edx
test ebx, ebx
jne 0x48302d
cmp dword [ecx + 4], ebx
jne 0x483035
test eax, eax
jne 0x48313f
cmp dword [esp + 0x18], 0
jle 0x483109
cmp dword [esp + 0x4c], 0
jle 0x483109
xor ebp, ebp
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
jg 0x483109
lea ebx, [ecx - 0x20]
mov edi, edi
cmp dword [ebx + 0x20], 0
je 0x4830f1
cmp dword [ebx + 0x28], 0
jne 0x4830f1
cmp dword [esp + 0x14], 0
mov ecx, dword [ebx - 8]
mov edx, dword [ebx - 4]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
lea eax, [ebx - 8]
jne 0x48308f
add esi, ebp
add ecx, ebp
jmp 0x483093
add edi, ebp
add edx, ebp
push edi
push esi
push edx
push ecx
push eax
call dword [sym.imp.user32.dll_SetRect]
mov ecx, dword [esp + 0x30]
test ecx, ecx
jl 0x4830b7
mov eax, dword [esp + 0x10]
cmp ecx, dword [eax + 0x2c]
jge 0x4830b7
mov eax, dword [eax + 0x28]
mov eax, dword [eax + ecx*4]
jmp 0x4830b9
xor eax, eax
test byte [eax + 0x78], 0x20
je 0x4830e9
mov esi, dword [esp + 0x18]
test esi, esi
jle 0x4830e9
mov eax, dword [esp + 0x4c]
cdq
idiv esi
cmp dword [esp + 0x14], 0
jne 0x4830d9
add dword [ebx], eax
jmp 0x4830dc
add dword [ebx + 4], eax
sub dword [esp + 0x4c], eax
sub esi, 1
mov dword [esp + 0x18], esi
add ebp, eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
add edx, 1
add ebx, 0x38
cmp edx, dword [esp + 0x20]
mov dword [esp + 0x30], edx
jle 0x483060
cmp dword [esp + 0x14], 0
je 0x48311a
mov edi, dword [esp + 0x38]
sub edi, dword [esp + 0x48]
jmp 0x483122
mov edi, dword [esp + 0x34]
sub edi, dword [esp + 0x44]
mov edx, dword [esp + 0x24]
mov ebp, 1
mov dword [esp + 0x20], edx
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x18], 0
sub dword [esp + 0x24], 1
sub eax, 1
sub ecx, 0x38
test eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], ecx
jge 0x482fa0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x20