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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc0
mov edi, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], edi
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [esp + 0x40], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov eax, dword [ebp + 0x20]
mov esi, 6
test eax, eax
js 0x484c5f
mov esi, eax
mov dword [esp + 0xc], edi
mov eax, edi
mov dword [esp + 0x18], ecx
or eax, ecx
je 0x484c7b
mov edi, esi
and edi, 0x400
mov ax, 8
jmp 0x484c95
cmp dword [ebp + 0x14], 0
setne al
mov edi, esi
and edi, 0x400
sete cl
and cl, al
movzx eax, cl
shl eax, 3
test esi, 0x10000
mov dword [esp + 8], edx
jne 0x484ca9
movzx eax, ax
or eax, 0x800
mov dword [esp + 0x8c], eax
and esi, 0xf
sete ah
test edi, edi
setne al
mov ecx, dword [ebx + 0x48]
mov dword [esp + 4], ecx
test ecx, ecx
je 0x484f60
cmp dword [ebx + 0x14], 2
jne 0x484f60
cmp dword [ebp + 0x14], 0
sete cl
cmp dword [ebp + 0x10], 0
setne dl
cmp dword [ebp + 0xc], 0
je 0x484f60
or dl, cl
je 0x484f60
cmp word [ebp + 0x1c], 0
setne cl
cmp dword [ebp + 0x18], 0
sete dl
test dl, cl
jne 0x484f60
cmp esi, 0xb
jae 0x484f60
mov edx, dword [esp + 4]
cmp dword [edx + 0x34], 0
mov ecx, dword [ebx + 0x10]
je 0x484d37
xor ebx, ebx
cmp ecx, 0xffffffff
jne 0x484d51
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 2
jmp 0x484f69
cmp dword [esp + 0x18], 0
jne 0x484d48
mov bl, 1
cmp ecx, 0xffff
jne 0x484d51
mov dword [edx + 0x34], 1
xor ebx, ebx
mov ecx, dword [esp + 0xc]
or ecx, dword [esp + 0x18]
je 0x484d6e
test edi, edi
jne 0x484d6e
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x18
jmp 0x484f67
mov ecx, dword [ebp + 0xc]
cmp byte [ecx], 0x2f
je 0x484df2
test edi, edi
je 0x484d8b
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x90], eax
mov byte [esp + 0x28], 1
jmp 0x484de0
or ah, al
mov byte [esp + 0xc], ah
mov eax, dword [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push 0
call fcn.00482b90
add esp, 0xc
mov dword [esp + 0x90], eax
mov dword [esp + 0x18], 0
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], 0
mov eax, 0
cmp ecx, 4
setb cl
jb 0x484dcf
mov eax, esi
or cl, byte [esp + 0xc]
mov byte [esp + 0x28], cl
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0xc], ecx
mov esi, eax
push dword [ebp + 0xc]
call fcn.004880e0
add esp, 4
cmp eax, 0x10000
jb 0x484e01
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x19
jmp 0x484f67
mov dword [esp + 0x24], eax
movzx eax, word [ebp + 0x1c]
mov dword [esp + 0x94], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
mov dword [esp + 0x20], 0
mov ecx, dword [edx + 0x24]
or ecx, eax
mov ecx, 0
je 0x484e37
lea ecx, [eax - 1]
mov edx, dword [edx]
and edx, ecx
sub eax, edx
and eax, ecx
mov ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 4]
mov edx, dword [eax + 4]
xor ecx, ecx
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x94]
setb cl
mov dword [esp + 0x34], edx
add eax, edx
adc ecx, 0
mov edx, eax
mov dword [esp + 0x10], eax
add edx, 0x4a
adc ecx, 0
mov eax, 0xfffffffe
cmp eax, edx
sbb dword [esp + 0x20], ecx
jae 0x484e83
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0xf
jmp 0x484f67
test bl, bl
je 0x484f23
mov edx, dword [esp + 0x24]
mov ebx, edx
shr ebx, 0x1f
add edx, edx
add edx, dword [esp + 0x94]
adc ebx, 0
add edx, dword [esp + 0x14]
adc ebx, 0
mov ecx, dword [ebp + 8]
add edx, dword [ecx]
adc ebx, dword [ecx + 4]
add edx, 0x4c
adc ebx, 0
mov ecx, edx
and ecx, dword [ebp + 0x38]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x20]
shr ecx, 0x1f
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x20]
add ecx, ecx
mov dword [esp + 0x20], ecx
xor edx, dword [ebp + 0x38]
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x34]
add eax, dword [ebp + 0x40]
mov ecx, 0
adc ecx, 0xffffffff
add eax, edx
mov edx, dword [esp + 0x24]
adc ecx, ebx
add eax, dword [esp + 0x20]
adc ecx, dword [esp + 0x88]
add eax, 0x26
adc ecx, 0
cmp ecx, 0xffffffff
je 0x484f2f
mov ecx, dword [esp + 4]
mov dword [ecx + 0x34], 1
mov dword [esp + 0x30], 0x1c
jmp 0x484f2f
mov dword [esp + 0x30], 0x1c
mov edx, dword [esp + 0x24]
mov dword [esp + 0x20], 0
test edx, edx
je 0x484f73
mov ecx, dword [ebp + 0xc]
cmp byte [ecx + edx - 1], 0x2f
mov ebx, dword [ebp + 8]
jne 0x484f76
cmp dword [ebp + 0x14], 0
jne 0x484f60
mov dword [esp + 0x20], 0x10
mov ecx, dword [esp + 0xc]
or ecx, dword [esp + 0x18]
je 0x484f76
mov dword [ebx + 0x1c], 0x18
xor ebx, ebx
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ebp + 8]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
add eax, ecx
add eax, 0x2e
mov ecx, dword [esp + 4]
cmp dword [ecx + 8], eax
jae 0x484fa5
push 1
push eax
push ecx
push ebx
call fcn.00487e40
mov ecx, dword [esp + 0x14]
add esp, 0x10
test eax, eax
je 0x4850e2
mov eax, dword [ecx + 0x14]
inc eax
cmp dword [ecx + 0x18], eax
jae 0x484fc6
add ecx, 0x10
push 1
push eax
push ecx
push ebx
call fcn.00487e40
add esp, 0x10
test eax, eax
je 0x4850e2
cmp dword [ebp + 0x14], 0
sete cl
xor eax, eax
or cl, byte [esp + 0x28]
jne 0x484fed
push 0x4df40
push 1
push dword [ebx + 0x34]
call dword [ebx + 0x28]
add esp, 0xc
test eax, eax
je 0x4850e2
mov dword [esp + 0x10], eax
mov ecx, ebx
mov edx, dword [esp + 8]
push dword [esp + 0x14]
push dword [esp + 0x30]
call fcn.004857d0
add esp, 8
test eax, eax
je 0x4850ee
test edi, edi
setne byte [esp + 0x34]
mov ecx, dword [esp + 8]
mov edi, ecx
mov ebx, dword [esp + 0x14]
add edi, ebx
mov edx, dword [esp + 0x2c]
adc edx, 0
mov eax, ecx
and eax, ebx
xor ecx, ebx
mov ebx, eax
shr ebx, 0x1f
add eax, eax
add ecx, eax
mov dword [esp + 8], ecx
mov eax, edx
mov ecx, edi
adc ebx, dword [esp + 0x2c]
mov edi, ebx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov word [esp + 0x84], 0
movzx ebx, byte [esp + 0x28]
xor bl, 1
or bl, byte [esp + 0x34]
movzx edx, bl
shl edx, 3
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 4]
cmp dword [edx + 0x34], 0
je 0x485100
mov dword [esp + 4], edi
mov dword [esp + 0x14], 0
mov edi, 0xfffffffe
cmp edi, dword [esp + 0xc]
mov edx, 0
sbb edx, dword [esp + 0x18]
jb 0x485113
xor edx, edx
cmp edi, ecx
sbb edx, eax
jb 0x485113
xor edi, edi
jmp 0x485254
mov dword [ebx + 0x1c], 0x10
jmp 0x484f67
push dword [esp + 0x10]
push dword [ebx + 0x34]
call dword [ebx + 0x2c]
add esp, 8
jmp 0x484f67
test edi, edi
je 0x48512d
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x1d
jmp 0x484f67
xor edx, edx
cmp edi, ecx
mov ecx, eax
mov eax, 0
sbb eax, ecx
jb 0x48520f
xor eax, eax
jmp 0x485213
mov dword [esp + 0x68], 0x4034b50
test bl, bl
je 0x48513b
mov bl, 0x14
mov byte [esp + 0x6c], bl
mov ebx, dword [esp + 0x8c]
movzx edx, bx
mov byte [esp + 0x6e], bl
mov byte [esp + 0x6f], dh
mov edx, dword [esp + 0x2c]
mov byte [esp + 0x70], dl
mov dword [esp + 0x71], 0
mov dword [esp + 0x75], 0
mov dword [esp + 0x79], 0
mov dword [esp + 0x7d], 0
mov byte [esp + 0x81], 0
mov edx, dword [esp + 0x24]
mov byte [esp + 0x82], dl
mov byte [esp + 0x83], dh
mov edx, dword [ebp + 0x38]
mov byte [esp + 0x84], dl
mov byte [esp + 0x85], dh
lea edx, [esp + 0x68]
push 0x1e
push edx
push eax
push ecx
mov ebx, dword [ebp + 8]
push dword [ebx + 0x44]
call dword [ebx + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x4853e4
mov ecx, dword [esp + 8]
add ecx, 0x1e
adc edi, 0
mov eax, ebx
mov ebx, dword [esp + 0x24]
push ebx
push dword [ebp + 0xc]
push edi
mov dword [esp + 0x14], ecx
push ecx
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x4853f0
mov ecx, dword [esp + 8]
add ecx, ebx
adc edi, 0
mov dword [esp + 4], edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
jmp 0x485373
lea eax, [esp + 0x40]
cmp edi, dword [esp + 0xc]
mov ecx, 0
sbb ecx, dword [esp + 0x18]
jb 0x485229
mov ecx, 0
jmp 0x48522d
lea ecx, [esp + 0x38]
jae 0x485233
lea edx, [esp + 0x48]
lea edi, [esp + 0xa0]
push eax
push ecx
push edx
mov dword [esp + 0x20], edi
push edi
call fcn.00485870
add esp, 0x10
mov edi, eax
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov edx, dword [ebp + 0x38]
add edx, edi
mov dword [esp + 0x68], 0x4034b50
test bl, bl
je 0x485267
mov bl, 0x14
mov byte [esp + 0x6c], bl
mov byte [esp + 0x6d], 0
movzx ebx, word [esp + 0x8c]
mov byte [esp + 0x6e], bl
mov byte [esp + 0x6f], bh
mov ebx, dword [esp + 0x2c]
mov byte [esp + 0x70], bl
mov dword [esp + 0x71], 0
mov dword [esp + 0x75], 0
mov dword [esp + 0x79], 0
mov dword [esp + 0x7d], 0
mov byte [esp + 0x81], 0
mov ebx, dword [esp + 0x24]
mov byte [esp + 0x82], bl
mov byte [esp + 0x83], bh
mov byte [esp + 0x84], dl
mov byte [esp + 0x85], dh
lea edx, [esp + 0x68]
push 0x1e
push edx
push eax
push ecx
mov ebx, dword [ebp + 8]
push dword [ebx + 0x44]
call dword [ebx + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x4853e4
mov dword [esp + 0x18], edi
mov edi, dword [esp + 8]
add edi, 0x1e
mov eax, dword [esp + 4]
adc eax, 0
mov ecx, ebx
mov ebx, dword [esp + 0x24]
push ebx
push dword [ebp + 0xc]
mov dword [esp + 0xc], eax
push eax
push edi
push dword [ecx + 0x44]
call dword [ecx + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x4853f0
add edi, ebx
mov edx, dword [esp + 4]
adc edx, 0
cmp dword [esp + 0x14], 0
mov ecx, edi
mov dword [esp + 4], edx
je 0x48536b
lea eax, [esp + 0xa0]
mov edi, dword [esp + 0x18]
push edi
push eax
push edx
push ecx
mov ebx, dword [ebp + 8]
push dword [ebx + 0x44]
mov dword [esp + 0x1c], ecx
call dword [ebx + 0x3c]
add esp, 0x14
cmp eax, edi
jne 0x4853e4
mov ecx, dword [esp + 8]
add ecx, edi
adc dword [esp + 4], 0
jmp 0x485373
mov dword [esp + 0x14], 0
mov eax, dword [ebp + 0x38]
test eax, eax
mov dword [esp + 8], ecx
je 0x4853a2
push eax
push dword [ebp + 0x34]
push dword [esp + 0xc]
push ecx
mov ebx, dword [ebp + 8]
push dword [ebx + 0x44]
mov edi, eax
call dword [ebx + 0x3c]
add esp, 0x14
cmp eax, edi
jne 0x4853e4
add dword [esp + 8], edi
adc dword [esp + 4], 0
cmp byte [esp + 0x28], 0
je 0x48540c
mov esi, dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
push dword [esp + 0xc]
push dword [esp + 0x14]
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x4853f0
mov ecx, esi
add dword [esp + 8], esi
adc dword [esp + 4], 0
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0
jmp 0x4854bd
mov dword [ebx + 0x1c], 0x13
jmp 0x484f67
push dword [esp + 0x10]
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0x13
jmp 0x484f67
cmp dword [ebp + 0x14], 0
je 0x4854bd
mov eax, dword [ebp + 8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
xor eax, eax
cmp esi, 4
setb al
shl eax, 0xe
or eax, dword [esi*4 + 0x4be84c]
test esi, esi
jne 0x485458
or eax, 0x80000
lea ecx, [esp + 0x50]
push eax
push ecx
push 0x4858e0
mov esi, dword [esp + 0x1c]
push esi
call fcn.004840c0
add esp, 0x10
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x9c]
push 4
push 0
push 0
push eax
push dword [ebp + 0x10]
push esi
call fcn.00482cb0
add esp, 0x18
cmp eax, 1
jne 0x4855c6
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
push dword [esp + 0x10]
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x2c]
add esp, 8
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edi, eax
mov dword [esp + 0xc], ecx
or eax, ecx
je 0x4855b7
mov dword [esp + 0x50], 0x8074b50
mov ecx, dword [esp + 0x90]
mov byte [esp + 0x54], cl
mov byte [esp + 0x55], ch
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x56], al
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x57], al
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x14], 0
je 0x4855e2
mov byte [esp + 0x58], bl
mov byte [esp + 0x59], bh
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x5a], al
mov eax, ecx
shr eax, 0x10
shr ebx, 0x18
mov byte [esp + 0x5b], bl
mov ebx, ecx
shr ebx, 0x18
mov byte [esp + 0x5c], cl
mov byte [esp + 0x5d], ch
mov byte [esp + 0x5e], al
mov byte [esp + 0x5f], bl
mov ecx, edi
mov byte [esp + 0x60], cl
mov byte [esp + 0x61], ch
mov eax, edi
shr eax, 0x10
mov byte [esp + 0x62], al
mov eax, edi
shr eax, 0x18
mov byte [esp + 0x63], al
mov dword [esp + 0x34], 0x38
mov dword [esp + 0x88], 0x30
mov ecx, 0x28
mov dword [esp + 0x28], 0x18
mov dword [esp + 0x10], 0x17
mov eax, dword [esp + 0xc]
mov byte [esp + 0x1f], al
mov dword [esp + 0x30], 0x16
mov dword [esp + 0x98], 0x15
mov esi, 0x14
jmp 0x485634
mov dword [esp + 0xc], 0
xor ecx, ecx
jmp 0x4856da
push dword [esp + 0x10]
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0xc
jmp 0x484f67
test ecx, ecx
jne 0x485104
mov dword [esp + 0x58], ebx
mov dword [esp + 0x34], 0x18
mov dword [esp + 0x88], 0x10
mov ecx, 8
mov dword [esp + 0x10], 0xf
mov dword [esp + 0x30], 0xe
mov eax, edi
mov byte [esp + 0x1f], al
mov dword [esp + 0x98], 0xd
mov esi, 0xc
mov dword [esp + 0x28], 0x10
mov ebx, edi
mov eax, dword [esp + 0xc]
shrd ebx, eax, cl
shr eax, cl
movzx edx, byte [esp + 0x1f]
mov byte [esp + esi + 0x50], dl
test cl, 0x20
jne 0x48564f
mov eax, ebx
mov ebx, edi
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0xc]
shrd ebx, edx, cl
mov esi, dword [esp + 0x98]
mov byte [esp + esi + 0x50], al
mov eax, edx
shr eax, cl
test cl, 0x20
jne 0x485675
mov eax, ebx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0xc]
shrd edi, edx, cl
mov esi, edi
mov edi, dword [esp + 0x30]
mov byte [esp + edi + 0x50], al
shr edx, cl
test cl, 0x20
jne 0x485693
mov edx, esi
mov eax, dword [esp + 0x10]
mov byte [esp + eax + 0x50], dl
lea eax, [esp + 0x50]
mov esi, dword [esp + 0x28]
push esi
push eax
push dword [esp + 0xc]
push dword [esp + 0x14]
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x484f67
mov eax, dword [esp + 0x28]
add dword [esp + 8], eax
adc dword [esp + 4], 0
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x4c]
mov edi, dword [ebp + 0x3c]
cmp dword [esp + 0x14], 0
je 0x485748
xor edx, edx
mov eax, 0xfffffffe
cmp eax, dword [esp + 0x40]
mov eax, 0
sbb eax, dword [esp + 0x44]
jb 0x4856fe
xor ebx, ebx
jmp 0x485702
lea ebx, [esp + 0x40]
mov eax, 0xfffffffe
cmp eax, dword [esp + 0xc]
mov eax, 0
sbb eax, ecx
jb 0x48571b
mov eax, 0
jmp 0x48571f
lea eax, [esp + 0x38]
jae 0x485725
lea edx, [esp + 0x48]
lea ecx, [esp + 0xa0]
push ebx
push eax
push edx
push ecx
call fcn.00485870
add esp, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x4c]
movzx esi, word [esp + 0x8c]
movzx eax, word [esp + 0x2c]
movzx edx, word [esp + 0x18]
movzx ebx, word [esp + 0x24]
push dword [ebp + 0x40]
push edi
push dword [esp + 0x28]
push dword [esp + 0x50]
push dword [esp + 0x50]
push 0
push 0
push esi
push eax
push dword [esp + 0xb4]
push dword [esp + 0x64]
push dword [esp + 0x64]
push ecx
push dword [esp + 0x40]
push dword [esp + 0xcc]
push dword [ebp + 0x18]
push edx
push dword [esp + 0x58]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00485950
add esp, 0x54
test eax, eax
je 0x484f67
mov eax, dword [ebp + 8]
inc dword [eax + 0x10]
mov ecx, dword [esp + 8]
mov dword [eax], ecx
mov ecx, dword [esp + 4]
mov dword [eax + 4], ecx
mov ebx, 1
jmp 0x484f69