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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006eae6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], edi
cmp dword [edi + 0x10], 0
jne 0x100486ee
xor al, al
jmp 0x1004909d
push 0x6d0c
lea eax, [esp + 0x48]
push 0
push eax
call fcn.10049bc1
add esp, 0xc
xor edx, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0x8308faa8
mov dword [esp + 0x24], 0xfffffffb
push 3
mov dword [esp + 0x28], 0x2b8909ff
mov dword [esp + 0x10], edx
pop ecx
jmp 0x1004873c
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0xf4], 0xb55b
inc dword [esp + 0xc]
cmp dword [esp + 0xc], ecx
jl 0x10048729
mov dword [esp + 0xc], edx
jmp 0x10048758
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x58], 9
inc dword [esp + 0xc]
cmp dword [esp + 0xc], ecx
jl 0x10048748
mov dword [esp + 0x58], edx
cmp dword [esp + 0x58], 2
push 1
pop ebx
jg 0x10048a56
mov dword [esp + 0x1c], 0x10f7a73d
lea ecx, [esp + 0x64]
push ebx
call fcn.100183ab
xor esi, esi
mov dword [esp + 0x10c], esi
mov dword [esp + 0x20], 0x73df2ef5
mov dword [esp + 0xc], esi
jmp 0x100487ac
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x64]
mov dword [eax + ecx*4], 3
inc dword [esp + 0xc]
cmp dword [esp + 0xc], ebx
jl 0x10048799
mov dword [esp + 0x28], 0x1b0b
cmp dword [esp + 0x28], 0xeeb
jge 0x10048921
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x3c]
push eax
push 0x10007800
call fcn.10054b0b
mov eax, dword [esp + 0x44]
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0xbc], ecx
mov dword [esp + 0x94], ecx
add eax, 2
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ecx
lea ecx, [esp + 0xbc]
push ecx
push eax
lea ecx, [esp + 0x9c]
call fcn.10018f2e
xor ecx, ecx
mov byte [esp + 0x10c], bl
mov eax, dword [esp + 0x38]
mov dword [esp + 0xcc], ecx
add eax, 2
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0xcc]
push ecx
push eax
lea ecx, [esp + 0x54]
call fcn.10018f2e
mov esi, ebx
mov edi, dword [esp + 0x94]
cmp dword [esp + 0x78], ebx
jl 0x10048890
mov ebx, dword [esp + 0x4c]
lea eax, [esp + 0x70]
push eax
push 0x100077f4
call fcn.10054b0b
mov eax, dword [esp + 0x78]
pop ecx
pop ecx
cmp dword [edi + eax*4], 0
jne 0x10048883
mov dword [edi + eax*4], esi
mov eax, dword [esp + 0x70]
mov dword [ebx + eax*4], esi
inc esi
cmp esi, dword [esp + 0x78]
jle 0x10048861
xor ebx, ebx
inc ebx
xor esi, esi
mov eax, ebx
mov ecx, esi
cmp dword [esp + 0x38], ebx
jl 0x100488d9
mov edx, dword [esp + 0x4c]
add edx, 8
cmp dword [edx - 4], esi
jne 0x100488a9
inc ecx
cmp eax, ebx
jle 0x100488ba
mov esi, dword [edi + eax*4]
test esi, esi
je 0x100488b9
cmp dword [edx - 8], esi
jge 0x100488ba
inc ecx
cmp eax, dword [esp + 0x38]
jge 0x100488cc
mov esi, dword [edi + eax*4]
test esi, esi
je 0x100488cb
cmp dword [edx], esi
jge 0x100488cc
inc ecx
inc eax
add edx, 4
push 0
pop esi
cmp eax, dword [esp + 0x38]
jle 0x100488a3
push ecx
push 0x10007808
call fcn.100552e3
mov eax, dword [esp + 0x54]
pop ecx
pop ecx
test eax, eax
je 0x10048901
push eax
call fcn.10055488
pop ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
test edi, edi
je 0x10048921
push edi
call fcn.10055488
pop ecx
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x64]
inc ecx
mov dword [eax], ecx
xor ecx, ecx
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0xf4]
mov eax, dword [esp + 0x58]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
sub edx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edx
setl cl
mov dword [esp + 0x14], ecx
mov dword [esp + 0x14], 2
cmp dword [esp + 0x14], esi
jl 0x10048a23
mov dword [esp + 0xc], 7
mov dword [esp + 0x1c], 0xfffffffe
cmp dword [esp + 0x5c], esi
je 0x10048a10
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], esi
jne 0x100489af
mov ecx, dword [esp + 0x10]
xor edx, edx
mov eax, dword [esp + 0x64]
cmp dword [eax], ecx
mov ecx, esi
mov eax, dword [esp + 0x10]
sete dl
sub edx, eax
je 0x100489b1
mov ecx, ebx
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
add eax, ecx
neg eax
sbb eax, eax
xor edx, edx
neg eax
cmp eax, 0x486cae8e
mov eax, dword [esp + 0x14]
setl dl
xor ecx, ecx
cmp edx, eax
setg cl
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x5c]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x24], eax
jne 0x10048a0c
cmp dword [esp + 0xc], esi
je 0x10048a10
mov ecx, ebx
jmp 0x10048a12
mov ecx, esi
mov eax, dword [esp + 0x64]
inc ecx
mov dword [eax], ecx
dec dword [esp + 0x14]
jns 0x1004896e
or dword [esp + 0x10c], 0xffffffff
push dword [esp + 0x64]
call fcn.10055488
xor edx, edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
inc dword [esp + 0x5c]
cmp dword [esp + 0x5c], 2
pop ecx
jle 0x10048770
mov edi, dword [esp + 0x3c]
cmp dword [edi + 0x14], 0x10
jb 0x10048a60
mov esi, dword [edi]
jmp 0x10048a62
mov esi, edi
cmp dword [edi + 0x14], 0x10
jb 0x10048a6c
mov ecx, dword [edi]
jmp 0x10048a6e
mov ecx, edi
mov eax, dword [edi + 0x10]
add eax, ecx
cmp esi, eax
je 0x10049048
push 2
lea ecx, [esp + 0x80]
call fcn.100183ab
mov dword [esp + 0x10c], 2
lea edx, [esp + 0x7c]
mov dword [esp + 0xc], 0xfffffff7
lea ecx, [esp + 0xd0]
mov dword [esp + 0x10], 0x9d8d9242
mov dword [esp + 0x14], 0xd3650dfa
mov dword [esp + 0x20], 0x1465ee6d
mov dword [esp + 0x20], 0xe318b474
mov dword [esp + 0x1c], 0xbfaead22
mov dword [esp + 0x28], 0x7d86
mov dword [esp + 0x20], 0xba053926
call fcn.10048475
mov dword [esp + 0xc], ebx
xor ecx, ecx
cmp dword [esp + 0xc], ecx
jl 0x10048c84
mov dword [esp + 0x3c], 0xe29a
lea ecx, [esp + 0xac]
push 2
call fcn.100183ab
mov byte [esp + 0x10c], 3
mov dword [esp + 0x48], 0x45a3
mov dword [esp + 0x34], 0
jmp 0x10048b37
mov eax, dword [esp + 0x34]
mov dword [esp + eax*4 + 0xd4], 0x7dd9
inc dword [esp + 0x34]
cmp dword [esp + 0x34], 3
jl 0x10048b24
lea edx, [esp + 0xac]
lea ecx, [esp + 0x34]
call fcn.10048494
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x7c]
cmp dword [eax + ecx*4], 0
jne 0x10048bb9
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
dec eax
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x7c]
neg edx
sub edx, dword [eax + ecx*4]
neg edx
sbb edx, edx
inc edx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x20], 0
je 0x10048ba9
mov eax, dword [esp + 0xdc]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
xor edx, edx
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
cmp eax, ecx
mov eax, dword [esp + 0xac]
setne dl
mov dword [eax], edx
mov dword [esp + 0x14], 0xfffffff5
cmp dword [esp + 0x14], 0xfffffffc
jge 0x10048c4e
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x20], eax
jle 0x10048c3d
cmp dword [esp + 0x10], 0x196a
jle 0x10048c33
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x24], ecx
jne 0x10048c29
cmp dword [esp + 0xdc], ecx
je 0x10048c2b
mov eax, ebx
cmp eax, dword [esp + 0x28]
mov eax, ebx
jne 0x10048c35
mov eax, ecx
cmp eax, dword [esp + 0x14]
mov eax, ecx
jge 0x10048c3f
mov eax, ebx
mov dword [esp + 0x10], eax
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 0xfffffffc
jl 0x10048bf6
mov byte [esp + 0x10c], 2
push dword [esp + 0xac]
call fcn.10055488
pop ecx
xor ecx, ecx
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], ecx
dec dword [esp + 0xc]
jns 0x10048af4
mov byte [esp + 0x1b], cl
cmp byte [esp + 0x1b], 0
je 0x10048c96
call fcn.1004862c
xor ecx, ecx
or dword [esp + 0x10c], 0xffffffff
cmp dword [esp + 0x7c], 0
je 0x10048cc3
push dword [esp + 0x7c]
call fcn.10055488
pop ecx
xor ecx, ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ecx
mov al, byte [esi]
cmp al, 0x30
jl 0x10048ce4
cmp al, 0x39
jg 0x10048ce4
mov edx, dword [esp + 0x44]
movsx eax, al
imul ecx, dword [edx], 0xa
add ecx, 0xffffffd0
add eax, ecx
inc esi
mov dword [edx], eax
jmp 0x10048a62
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x88]
push 2
call fcn.100183ab
lea edx, [esp + 0x88]
mov dword [esp + 0x10c], 4
lea ecx, [esp + 0xf0]
call fcn.1004863a
xor edx, edx
mov dword [esp + 0xc], edx
cmp dword [esp + 0xc], 0xb
jg 0x10048e5b
mov dword [esp + 0x30], 0xfffffffc
mov dword [esp + 0x30], ebx
cmp dword [esp + 0x30], edx
jl 0x10048e39
mov dword [esp + 0x1c], 0x363f9e92
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x1c], edx
jl 0x10048e2b
mov dword [esp + 0x14], edx
mov dword [esp + 0x14], edx
jmp 0x10048e17
push 2
lea ecx, [esp + 0xa4]
call fcn.100183ab
mov dword [esp + 0x10], 0
jmp 0x10048d8c
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xa0]
mov dword [eax + ecx*4], 0x8e00f680
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x10048d76
mov esi, dword [esp + 0xa0]
mov dword [esi + 4], ebx
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x88]
mov dword [eax + ecx*4], 0x96ee4e91
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x10], 0
jl 0x10048dd9
mov byte [esp + 0x1b], 0
cmp byte [esp + 0x1b], 0
je 0x10048dd3
call fcn.10048659
dec dword [esp + 0x10]
jns 0x10048dc2
dec dword [esi + 4]
jns 0x10048d9d
mov byte [esp + 0x1b], 0
cmp byte [esp + 0x1b], 0
je 0x10048def
call fcn.10048671
push dword [esp + 0xa0]
call fcn.10055488
xor edx, edx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], edx
inc dword [esp + 0x18]
pop ecx
cmp dword [esp + 0x14], ebx
jle 0x10048d5e
dec dword [esp + 0x1c]
jns 0x10048d51
mov eax, dword [esp + 0x30]
dec dword [esp + 0x30]
jns 0x10048d3b
lea edx, [esp + 0x88]
lea ecx, [esp + 0x30]
call fcn.10048686
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 0xb
push 0
pop edx
jle 0x10048d25
or dword [esp + 0x10c], 0xffffffff
cmp dword [esp + 0x88], 0
je 0x10048e91
push dword [esp + 0x88]
call fcn.10055488
xor edx, edx
pop ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], edx
lea ecx, [esp + 0x44]
call fcn.10048698
mov dword [esp + 0x48], 0x2110
cmp dword [esp + 0x48], 0xae5
jge 0x100486e7
push 0x1a18
push edx
push 0x108902f0
call fcn.100553a0
add esp, 0xc
mov dword [esp + 0x40], ebx
lea eax, [esp + 0x40]
mov ecx, 0x10892f58
push eax
call fcn.10046216
push 0xa
pop eax
mov ecx, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov edi, 0x10892f64
mov dword [esp + 0x1c], eax
mov esi, dword [edi - 8]
sub esi, dword [edi - 0xc]
and dword [esp + 0x40], 0
sar esi, 2
test esi, esi
jle 0x10048f2d
mov ebx, dword [esp + 0x40]
mov eax, dword [edi - 0xc]
mov eax, dword [eax + ebx*4]
imul eax, ecx
mov ecx, edi
mov dword [esp + 0xc4], eax
lea eax, [esp + 0xc4]
push eax
call fcn.10046216
mov ecx, dword [esp + 0x24]
inc ebx
cmp ebx, esi
jl 0x10048f02
xor ebx, ebx
inc ebx
cmp esi, ebx
jle 0x10048f65
mov dword [esp + 0x20], ebx
xor ebx, ebx
mov ecx, dword [edi]
mov eax, dword [ecx + ebx]
cdq
idiv dword [esp + 0x28]
add dword [ecx + ebx + 4], eax
mov ecx, dword [edi]
mov eax, dword [ecx + ebx]
cdq
idiv dword [esp + 0x28]
mov eax, dword [esp + 0x20]
inc eax
mov dword [ecx + ebx], edx
mov dword [esp + 0x20], eax
lea ebx, [ebx + 4]
cmp eax, esi
jl 0x10048f37
xor ebx, ebx
inc ebx
mov eax, dword [edi]
mov eax, dword [eax + esi*4 - 4]
cmp eax, 9
jle 0x10048fa8
push 0xa
pop ebx
cdq
mov ecx, edi
idiv ebx
mov dword [esp + 0xb8], eax
lea eax, [esp + 0xb8]
push eax
call fcn.10046216
mov ecx, dword [edi]
mov eax, dword [ecx + esi*4 - 4]
cdq
idiv ebx
mov dword [ecx + esi*4 - 4], edx
inc esi
mov eax, dword [edi]
mov eax, dword [eax + esi*4 - 4]
cmp eax, 9
jg 0x10048f73
xor ebx, ebx
inc ebx
test esi, esi
jle 0x10048fc3
mov ecx, dword [edi]
mov edx, dword [esp + 0x1c]
mov eax, dword [ecx]
lea ecx, [ecx + 4]
add eax, edx
inc dword [eax*4 + 0x108902f0]
dec esi
jne 0x10048fb2
mov ecx, dword [esp + 0x24]
add edi, 0xc
push 0xa
pop eax
add dword [esp + 0x1c], eax
inc ecx
mov dword [esp + 0x24], ecx
cmp edi, 0x1089372c
jle 0x10048eec
lea eax, [esp + 0x74]
push eax
push 0x100077f0
call fcn.10054b0b
pop ecx
pop ecx
cmp dword [esp + 0x74], ebx
jl 0x100486e7
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0xc4]
push eax
push 0x10007810
call fcn.10054b0b
imul eax, dword [esp + 0xcc], 0xa
add esp, 0xc
add eax, dword [esp + 0xc8]
push dword [eax*4 + 0x108902f0]
push 0x100077fc
call fcn.100552e3
inc ebx
pop ecx
pop ecx
cmp ebx, dword [esp + 0x74]
jle 0x10048ffd
jmp 0x100486e7
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x2c], 8
cmp dword [esp + 0x2c], 0xffffffe2
jge 0x10049092
xor edx, edx
mov dword [esp + 0x10], edx
jmp 0x10049072
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0xe0], edx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 4
jl 0x10049063
dec dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
dec dword [esp + 0x2c]
cmp dword [esp + 0x2c], 0xffffffe2
jl 0x1004905d
lea ecx, [esp + 0x2c]
call fcn.1004869e
mov al, bl
mov ecx, dword [esp + 0x104]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret