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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov edi, dword [esp + 0x78]
cmp edi, 0xffffffff
mov ebp, dword [esp + 0x7c]
mov dword [esp + 8], 0
je 0x482fa0
mov ebx, dword [esp + 0x80]
test ebx, ebx
jne 0x482c96
mov dword [esp + 0x80], 0x2806
cmp ebp, 0x1001
je 0x482d10
jg 0x482ce0
cmp ebp, 0x1000
je 0x483145
sub esp, 0xc
push 0x8e
push 0x51fa10
push 0xa0
push 0x7a
push 0xd
call fcn.0045d0e0
mov edx, 0xffffffff
add esp, 0x20
add esp, 0x5c
pop ebx
pop esi
pop edi
mov eax, edx
pop ebp
ret
cmp ebp, 0x1002
je 0x48312c
cmp ebp, 0x1004
jne 0x482cac
test edi, 3
jne 0x48339f
mov eax, edi
sar eax, 2
mov dword [esp + 0x2c], eax
jmp 0x482d14
mov dword [esp + 0x2c], edi
mov esi, dword [esp + 0x84]
test esi, esi
jle 0x482d30
mov ebx, dword [esp + 0x84]
cmp dword [esp + 0x2c], ebx
jl 0x4832e4
mov eax, dword [esp + 0x88]
test eax, eax
jle 0x482d4c
mov edx, dword [esp + 0x88]
cmp dword [esp + 0x2c], edx
jg 0x483338
mov ebx, dword [esp + 0x74]
mov esi, edi
test edi, edi
jmp 0x482dd2
cmp ebp, 0x1001
je 0x482f40
cmp ebp, 0x1002
je 0x482f80
cmp ebp, 0x1004
jne 0x482f50
xor edx, edx
xor ecx, ecx
mov dl, byte [ebx]
mov cl, byte [ebx + 1]
xor eax, eax
mov al, byte [ebx + 2]
shl edx, 0x18
shl ecx, 0x10
or ecx, edx
shl eax, 8
xor edx, edx
mov dl, byte [ebx + 3]
or eax, ecx
or edx, eax
add ebx, 4
mov dword [esp + 0x24], edx
sub esi, 4
sub esp, 8
lea edx, [esp + 0x88]
push edx
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004834d0
add esp, 0x10
test eax, eax
jle 0x4831bb
test esi, esi
jne 0x482d60
mov eax, dword [esp + 0x80]
test al, 2
mov esi, 0x1001
mov dword [esp + 0x10], 0x13
jne 0x482e00
test al, 0x10
mov dword [esp + 0x10], 0x16
je 0x482fba
lea esi, [esi]
mov ebx, dword [esp + 0x70]
test ebx, ebx
mov edx, dword [esp + 0x10]
je 0x482ccf
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx]
test eax, eax
je 0x4830ed
mov ebx, eax
mov eax, dword [eax + 8]
test eax, eax
mov byte [esp + 0xf], 0
jne 0x48319d
mov eax, dword [esp + 0x10]
mov dword [ebx + 4], eax
cmp ebp, esi
je 0x4831d5
cmp esi, 0x1001
je 0x483117
jle 0x482fee
cmp esi, 0x1002
je 0x48324f
cmp esi, 0x1004
je 0x483285
lea esi, [esi]
push esi
push 0xea
push 0x51fa10
mov esi, dword [esp + 0x2c]
inc esi
push esi
call fcn.00457fd0
mov dword [esp + 0x28], eax
add esp, 0x10
test eax, eax
je 0x4832af
mov ecx, dword [esp + 0x20]
mov dword [ebx], ecx
mov dword [ebx + 8], eax
mov byte [ecx + eax], 0
mov esi, edi
mov ebx, dword [esp + 0x74]
lea edi, [esp + 0x18]
lea esi, [esi]
test esi, esi
je 0x482f30
cmp ebp, 0x1001
je 0x483090
cmp ebp, 0x1002
je 0x4830d0
cmp ebp, 0x1004
jne 0x4830a0
xor edx, edx
xor ecx, ecx
mov dl, byte [ebx]
mov cl, byte [ebx + 1]
xor eax, eax
mov al, byte [ebx + 2]
shl edx, 0x18
shl ecx, 0x10
or ecx, edx
shl eax, 8
xor edx, edx
mov dl, byte [ebx + 3]
or eax, ecx
or edx, eax
add ebx, 4
mov dword [esp + 0x14], edx
sub esi, 4
lea esi, [esi]
lea edi, [edi]
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x482eb0
sub esp, 8
push edi
mov edx, dword [esp + 0x20]
push edx
call dword [esp + 0x18]
add esp, 0x10
test eax, eax
jg 0x482eb0
lea esi, [esi]
mov edx, dword [esp + 0x10]
add esp, 0x5c
pop ebx
pop esi
pop edi
mov eax, edx
pop ebp
ret
xor eax, eax
mov al, byte [ebx]
dec esi
inc ebx
mov dword [esp + 0x24], eax
jmp 0x482db0
push eax
lea eax, [esp + 0x28]
push eax
push esi
push ebx
call fcn.00485b70
add esp, 0x10
test eax, eax
js 0x4831c1
sub esi, eax
add ebx, eax
jmp 0x482db0
xor ecx, ecx
mov cl, byte [ebx]
xor edx, edx
mov dl, byte [ebx + 1]
shl ecx, 8
or edx, ecx
add ebx, 2
sub esi, 2
mov dword [esp + 0x24], edx
jmp 0x482db0
sub esp, 0xc
mov esi, dword [esp + 0x80]
push esi
call fcn.004f2c30
mov edi, eax
add esp, 0x10
jmp 0x482c80
test al, 4
mov dword [esp + 0x10], 0x14
jne 0x482e00
test ah, 8
jne 0x483205
test ah, 1
je 0x48329d
mov esi, 0x1004
mov dword [esp + 0x10], 0x1c
jmp 0x482e00
cmp esi, 0x1000
jne 0x482e70
mov esi, dword [esp + 0x74]
test edi, edi
mov dword [esp + 0x20], 0
mov dword [esp + 4], edi
jmp 0x48307f
cmp ebp, 0x1001
je 0x483216
cmp ebp, 0x1002
je 0x483266
cmp ebp, 0x1004
jne 0x483228
xor ecx, ecx
xor edx, edx
mov cl, byte [esi]
mov dl, byte [esi + 1]
xor eax, eax
mov al, byte [esi + 2]
shl ecx, 0x18
shl edx, 0x10
or edx, ecx
shl eax, 8
xor ecx, ecx
mov cl, byte [esi + 3]
or eax, edx
or ecx, eax
add esi, 4
mov dword [esp + 0x1c], ecx
sub dword [esp + 4], 4
sub esp, 8
lea eax, [esp + 0x28]
push eax
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00483400
add esp, 0x10
test eax, eax
jle 0x483081
mov edx, dword [esp + 4]
test edx, edx
jne 0x48300e
mov dword [esp + 8], 0x4834a0
jmp 0x482e70
xor eax, eax
mov al, byte [ebx]
dec esi
inc ebx
mov dword [esp + 0x14], eax
jmp 0x482f10
push ecx
lea eax, [esp + 0x18]
push eax
push esi
push ebx
call fcn.00485b70
add esp, 0x10
test eax, eax
js 0x482f30
sub esi, eax
add ebx, eax
jmp 0x482f10
xor ecx, ecx
mov cl, byte [ebx]
xor edx, edx
mov dl, byte [ebx + 1]
shl ecx, 8
or edx, ecx
add ebx, 2
sub esi, 2
mov dword [esp + 0x14], edx
jmp 0x482f10
mov byte [esp + 0xf], 1
sub esp, 0xc
mov edx, dword [esp + 0x1c]
push edx
call fcn.00459800
add esp, 0x10
test eax, eax
mov ebx, eax
je 0x4833b3
mov ecx, dword [esp + 0x70]
mov dword [ecx], eax
jmp 0x482e37
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20], esi
mov dword [esp + 8], 0x483430
jmp 0x482e70
test edi, 1
jne 0x48338b
mov eax, edi
sar eax, 1
mov dword [esp + 0x2c], eax
jmp 0x482d14
test edi, edi
mov dword [esp + 0x2c], 0
mov esi, dword [esp + 0x74]
mov ebx, edi
je 0x482d14
push ecx
lea eax, [esp + 0x2c]
push eax
push ebx
push esi
call fcn.00485b70
add esp, 0x10
test eax, eax
js 0x4832cd
sub esp, 8
lea ecx, [esp + 0x34]
push ecx
mov edx, dword [esp + 0x34]
push edx
sub ebx, eax
add esi, eax
call fcn.004833f0
add esp, 0x10
test eax, eax
jle 0x4832c7
test ebx, ebx
jne 0x48315b
jmp 0x482d14
sub esp, 0xc
mov dword [ebx], 0
push eax
call fcn.004582e0
add esp, 0x10
mov dword [ebx + 8], 0
jmp 0x482e30
jge 0x482dd4
sub esp, 0xc
push 0xa2
push 0x51fa10
push 0x7c
jmp 0x482cbe
push eax
push edi
mov edi, dword [esp + 0x7c]
push edi
push ebx
call fcn.00459870
add esp, 0x10
test eax, eax
mov edx, dword [esp + 0x10]
jne 0x482ccf
sub esp, 0xc
push 0xcd
push 0x51fa10
push 0x41
jmp 0x482cbe
mov si, 0x1002
mov dword [esp + 0x10], 0x1e
jmp 0x482e00
xor ecx, ecx
mov cl, byte [esi]
inc esi
dec dword [esp + 4]
mov dword [esp + 0x1c], ecx
jmp 0x483060
push eax
lea edx, [esp + 0x20]
push edx
mov eax, dword [esp + 0xc]
push eax
push esi
call fcn.00485b70
add esp, 0x10
test eax, eax
js 0x483081
sub dword [esp + 4], eax
add esi, eax
jmp 0x483060
mov eax, dword [esp + 0x2c]
add eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 8], 0x483450
jmp 0x482e70
xor eax, eax
mov al, byte [esi]
xor edx, edx
mov dl, byte [esi + 1]
shl eax, 8
or edx, eax
add esi, 2
sub dword [esp + 4], 2
mov dword [esp + 0x1c], edx
jmp 0x483060
mov edx, dword [esp + 0x2c]
shl edx, 2
mov dword [esp + 0x20], edx
mov dword [esp + 8], 0x483470
jmp 0x482e70
mov esi, 0x1000
mov dword [esp + 0x10], 0xc
jmp 0x482e00
cmp byte [esp + 0xf], 0
jne 0x48337a
sub esp, 0xc
push 0xec
jmp 0x4831f9
jge 0x482d14
sub esp, 0xc
push 0x84
push 0x51fa10
push 0x86
jmp 0x482cbe
sub esp, 0xc
push 0x93
push 0x51fa10
push 0x98
push 0x7a
push 0xd
call fcn.0045d0e0
add esp, 0x20
mov ebp, dword [esp + 0x84]
push ebp
push 0x51fa28
push 0x20
lea edi, [esp + 0x3c]
push edi
call fcn.00471c50
add esp, 0xc
push edi
push 0x51fa2c
push 2
call fcn.0045d2f0
mov edx, 0xffffffff
add esp, 0x10
jmp 0x482ccf
sub esp, 0xc
push 0x9a
push 0x51fa10
push 0x97
push 0x7a
push 0xd
call fcn.0045d0e0
add esp, 0x20
mov ecx, dword [esp + 0x88]
push ecx
push 0x51fa28
push 0x20
lea esi, [esp + 0x3c]
push esi
call fcn.00471c50
add esp, 0xc
push esi
push 0x51fa35
jmp 0x483324
sub esp, 0xc
push ebx
call fcn.004599c0
add esp, 0x10
jmp 0x4832ba
sub esp, 0xc
push 0x6f
push 0x51fa10
push 0x81
jmp 0x482cbe
sub esp, 0xc
push 0x78
push 0x51fa10
push 0x85
jmp 0x482cbe
sub esp, 0xc
push 0xc5
jmp 0x4831f9