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

Disassembly:
push 0xffffffffffffffff
push 0x4f06b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x48], edi
call fcn.0047dd70
mov eax, dword [esp + 0xa8]
xor ebx, ebx
push eax
lea ecx, [esp + 0x80]
mov dword [esp + 0xa4], ebx
call fcn.00485300
test eax, eax
je 0x4821c3
mov esi, dword [esp + 0xac]
lea ecx, [esp + 0x7c]
push esi
call fcn.00483f90
test eax, eax
je 0x4821c3
push 0x16c
mov dword [esp + 0x50], 1
call fcn.004dbc04
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, ebx
mov byte [esp + 0xa0], 1
je 0x48193a
mov ecx, eax
call fcn.004af050
jmp 0x48193c
xor eax, eax
cmp eax, ebx
mov byte [esp + 0xa0], bl
mov dword [edi + 4], eax
je 0x482151
mov cx, word [esp + 0xb4]
mov edx, dword [esp + 0xa8]
mov word [eax + 0xd8], cx
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0xb0]
push esi
mov ecx, dword [ecx + 4]
push edx
push eax
call fcn.004b83f0
test eax, eax
je 0x482151
mov dl, byte [esp + 0x13]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x14], dl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov al, byte [esp + 0x13]
mov dword [esp + 0x28], ebx
mov byte [esp + 0x24], al
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov ebp, dword [esp + 0xb4]
mov byte [esp + 0xa0], 3
cmp ebp, ebx
jne 0x481b2f
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x14]
mov esi, dword [ecx + 4]
add esi, 0x14
cmp edx, esi
je 0x481c7a
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4819e2
xor edi, edi
jmp 0x4819fa
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x30c30c31
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov edi, edx
lea ecx, [esp + 0x14]
call fcn.004823a0
cmp edi, eax
ja 0x481a4e
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.00482ca0
mov ecx, dword [esp + 0x28]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004ca170
mov ecx, esi
call fcn.004823a0
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esp + 0x18]
lea edx, [ecx + ecx*2]
lea ecx, [eax + edx*4]
mov dword [esp + 0x1c], ecx
jmp 0x481c7a
mov ecx, esi
call fcn.004823a0
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.00482370
cmp edi, eax
ja 0x481ac7
mov edi, dword [esi + 4]
lea ecx, [esp + 0x14]
call fcn.004823a0
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 4]
lea edx, [ecx + ecx*2]
mov ecx, dword [esp + 0x18]
push ecx
lea edi, [edi + edx*4]
push edi
push eax
call fcn.00482ca0
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x14]
push edx
push eax
push edi
call fcn.00482410
mov ecx, esi
call fcn.004823a0
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ecx + ecx*2]
mov ecx, dword [esp + 0x18]
lea edx, [ecx + eax*4]
mov dword [esp + 0x1c], edx
jmp 0x481c7a
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004ca170
mov edx, dword [esp + 0x18]
push edx
call fcn.004db420
add esp, 4
mov ecx, esi
call fcn.004823a0
cmp eax, ebx
jge 0x481af4
xor eax, eax
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ecx + ecx*2]
shl eax, 2
push eax
call fcn.004dbc04
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.00482410
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
jmp 0x481c7a
cmp ebp, 1
jne 0x482198
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x24]
mov esi, dword [ecx + 4]
add esi, 0x24
cmp edx, esi
je 0x481c7a
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x481b59
xor edi, edi
jmp 0x481b71
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov edi, edx
lea ecx, [esp + 0x24]
call fcn.004bbb40
cmp edi, eax
ja 0x481bbc
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.00482ce0
mov ecx, dword [esp + 0x38]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.004ca170
mov ecx, esi
call fcn.004bbb40
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x28]
lea ecx, [eax + edx*4]
mov dword [esp + 0x2c], ecx
jmp 0x481c7a
mov ecx, esi
call fcn.004bbb40
lea ecx, [esp + 0x24]
mov edi, eax
call fcn.00482450
cmp edi, eax
ja 0x481c20
mov edi, dword [esi + 4]
lea ecx, [esp + 0x24]
call fcn.004bbb40
mov ecx, dword [esp + 0x28]
lea edx, [eax + eax*8]
mov eax, dword [esi + 4]
push ecx
lea edi, [edi + edx*4]
push edi
push eax
call fcn.00482ce0
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x24]
push edx
push eax
push edi
call fcn.004bc2e0
mov ecx, esi
call fcn.004bbb40
mov ecx, dword [esp + 0x28]
lea eax, [eax + eax*8]
lea edx, [ecx + eax*4]
mov dword [esp + 0x2c], edx
jmp 0x481c7a
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.004ca170
mov edx, dword [esp + 0x28]
push edx
call fcn.004db420
add esp, 4
mov ecx, esi
call fcn.004bbb40
cmp eax, ebx
jge 0x481c4d
xor eax, eax
lea eax, [eax + eax*8]
shl eax, 2
push eax
call fcn.004dbc04
add esp, 4
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x30]
call fcn.004bc2e0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x50], 0x4f41ac
mov word [esp + 0x54], 0xffff
mov word [esp + 0x56], bx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x58], cl
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dl, byte [esp + 0x13]
mov dword [esp + 0x70], ebx
mov byte [esp + 0x6c], dl
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov byte [esp + 0xa0], 6
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
push eax
push ecx
lea ecx, [esp + 0x60]
call fcn.004823d0
cmp ebp, ebx
jne 0x481ce3
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x54], esp
push 2
push edx
jmp 0x481cef
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x54], esp
push 5
push eax
mov ecx, 0x513088
call fcn.0047dbf0
mov ecx, dword [0x512ab0]
call fcn.004623b0
mov cl, byte [esp + 0x13]
xor ebp, ebp
mov byte [esp + 0x34], cl
xor ecx, ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0xb4]
mov byte [esp + 0xa0], 7
cmp eax, ebx
jne 0x481d9e
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp esi, eax
je 0x481e86
mov edi, dword [esp + 0xa8]
cmp ebp, ecx
mov eax, ebp
je 0x481d59
mov edx, dword [esi]
cmp dword [eax], edx
je 0x481d91
add eax, 4
cmp eax, ecx
jne 0x481d4e
mov eax, dword [esi]
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x54], esp
push eax
push edx
mov ecx, edi
call fcn.004aeed0
mov ecx, dword [0x512ab0]
call fcn.00462590
mov ecx, dword [esp + 0x3c]
push esi
push 1
push ecx
lea ecx, [esp + 0x40]
call fcn.00482480
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
add esi, 0x54
cmp esi, eax
jne 0x481d46
jmp 0x481e0b
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
cmp esi, eax
je 0x481e86
mov edi, dword [esp + 0xa8]
cmp ebp, ecx
mov eax, ebp
je 0x481dc8
mov edx, dword [esi]
cmp dword [eax], edx
je 0x481e00
add eax, 4
cmp eax, ecx
jne 0x481dbd
mov eax, dword [esi]
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x54], esp
push eax
push edx
mov ecx, edi
call fcn.004aeed0
mov ecx, dword [0x512ab0]
call fcn.00462590
mov ecx, dword [esp + 0x3c]
push esi
push 1
push ecx
lea ecx, [esp + 0x40]
call fcn.00482480
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
add esi, 0x24
cmp esi, eax
jne 0x481db5
cmp ebp, ebx
je 0x481e86
sub ecx, ebp
sar ecx, 2
cmp ecx, 1
jbe 0x481e86
mov ecx, dword [0x512ab0]
lea edx, [esp + 0x50]
push edx
call fcn.004627b0
mov edi, eax
cmp di, 0xffff
je 0x4820c4
mov ebp, dword [esp + 0x38]
cmp dword [esp + 0xb4], ebx
jne 0x481e8f
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp esi, eax
je 0x481f20
movsx edi, di
shl edi, 2
mov eax, dword [edi + ebp]
mov ecx, dword [esi]
cmp eax, ecx
jne 0x481e76
mov ecx, dword [esp + 0x60]
push esi
push 1
push ecx
lea ecx, [esp + 0x64]
call fcn.00482690
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
add esi, 0x54
cmp esi, eax
jne 0x481e58
jmp 0x481f20
xor edi, edi
mov word [esp + 0x54], bx
jmp 0x481e39
push ebx
push 3
sub esp, 0x10
mov ecx, 0x513088
mov edx, esp
mov dword [esp + 0x5c], esp
push 0x17
push edx
call fcn.0047dbf0
sub esp, 0x10
mov ecx, 0x513088
mov eax, esp
mov dword [esp + 0x90], esp
push 0x23
push eax
mov byte [esp + 0xd0], 8
call fcn.0047dbf0
mov ecx, 0x512ab0
mov byte [esp + 0xc8], 7
call fcn.00461540
cmp ax, 2
je 0x4820cb
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
cmp esi, eax
je 0x481f20
movsx edi, di
shl edi, 2
mov ecx, dword [esp + 0x38]
mov eax, dword [esi]
mov edx, dword [ecx + edi]
cmp edx, eax
jne 0x481f15
mov eax, dword [esp + 0x74]
push esi
push 1
push eax
lea ecx, [esp + 0x78]
call fcn.004829a0
mov eax, dword [esp + 0x2c]
add esi, 0x24
cmp esi, eax
jne 0x481ef7
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x8c], cl
lea ecx, [esp + 0x8c]
call fcn.004019e0
mov edi, 0x512a68
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x8c]
push ebp
call fcn.00401d50
test al, al
je 0x481f89
mov edi, dword [esp + 0x8c]
mov ecx, ebp
mov edx, ecx
mov esi, 0x512a68
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x90], ebp
mov byte [eax + ebp], bl
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0xb4]
mov cx, word [esp + 0x54]
cmp edi, ebx
mov eax, dword [esi + 4]
mov byte [esp + 0xa0], 9
mov word [eax + 0xda], cx
jne 0x481fbd
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x78], esp
push 2
push edx
jmp 0x481fc9
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x78], esp
push 5
push eax
mov ecx, 0x513088
call fcn.0047dbf0
mov ecx, dword [0x512ab0]
call fcn.004623b0
mov eax, edi
sub eax, ebx
je 0x482020
dec eax
jne 0x48203b
push 3
lea ecx, [esp + 0x80]
call fcn.0047df80
mov eax, dword [esi + 4]
lea ecx, [esi + 8]
push ecx
lea ecx, [eax + 0x13c]
call fcn.004821e0
mov edx, dword [esp + 0xb8]
mov ecx, dword [esi + 4]
push 1
lea eax, [esp + 0x70]
push edx
push eax
call fcn.004afa30
jmp 0x482037
mov ecx, dword [esp + 0xb8]
push 1
lea edx, [esp + 0x5c]
push ecx
mov ecx, dword [esi + 4]
push edx
call fcn.004af600
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x8c]
cmp eax, ebx
je 0x482063
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x48205a
cmp al, 0xff
je 0x48205a
dec al
mov byte [ecx], al
jmp 0x482063
push ecx
call fcn.004db420
add esp, 4
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov ecx, dword [eax]
mov eax, dword [esp + 0x38]
cmp ecx, ebx
jne 0x4820cf
cmp eax, ebx
je 0x4820cf
mov ecx, dword [esp + 0x3c]
sub ecx, eax
sar ecx, 2
cmp ecx, 1
jbe 0x4820cf
push eax
mov byte [esp + 0xa4], 6
call fcn.004db420
mov ebp, dword [esp + 0xb8]
add esp, 4
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
jmp 0x481cbe
mov edx, dword [esp + 0x38]
push edx
jmp 0x4820d0
mov eax, dword [esp + 0x38]
push eax
call fcn.004db420
mov ecx, dword [esp + 0x74]
add esp, 4
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
push ecx
mov dword [esp + 0x44], ebx
call fcn.004db420
mov edx, dword [esp + 0x60]
mov dword [esp + 0x74], ebx
push edx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
call fcn.004db420
mov eax, dword [esp + 0x30]
mov dword [esp + 0x64], ebx
push eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x5c], 0x4f41ac
call fcn.004db420
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x34], ebx
push ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0xb0], bl
call fcn.004db420
add esp, 0x10
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov esi, dword [esp + 0x48]
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x482165
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], ebx
lea ecx, [esp + 0x7c]
mov dword [esp + 0xa0], 0xffffffff
call fcn.0047ddb0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x94
ret 0x14
push ebx
call fcn.004db420
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x2c], ebx
push edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.004db420
add esp, 8
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x7c]
mov dword [esp + 0xa0], 0xffffffff
call fcn.0047ddb0
xor eax, eax
jmp 0x48217d