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

Disassembly:
push 0xffffffffffffffff
push 0x475e88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], esi
call fcn.004152e0
xor ebx, ebx
lea ecx, [esp + 0x70]
mov dword [esp + 0xa4], ebx
call fcn.004152e0
mov eax, dword [esi + 0xb0]
mov byte [esp + 0xa4], 1
cmp eax, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 8], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
je 0x450f7b
mov eax, dword [0x49d4c4]
cmp eax, ebx
je 0x450f7b
cmp dword [0x49d4c8], ebx
je 0x450f7b
cmp dword [0x49d4cc], ebx
je 0x450f7b
cmp dword [0x49d4d0], ebx
je 0x450f7b
cmp dword [0x49d4d4], ebx
je 0x450f7b
cmp dword [0x49d4dc], ebx
je 0x450f7b
cmp dword [0x49d4d8], ebx
je 0x450f7b
push ebp
lea ecx, [esp + 0x18]
push edi
lea edx, [esp + 0x34]
push ecx
push edx
push ebx
push 2
call eax
test eax, eax
jne 0x450f29
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push eax
push ebx
push ecx
call dword [0x49d4cc]
test eax, eax
jne 0x450f29
lea edx, [esp + 0x68]
add esi, 0xe8
push edx
push esi
mov ecx, 0x49d15c
call fcn.00426390
mov eax, dword [esp + 0x18]
xor ebp, ebp
mov dword [esp + 0x20], ebp
cmp dword [eax], ebx
jbe 0x450f2d
mov ecx, 4
lea edi, [esp + 0x68]
lea esi, [ebx + eax + 8]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x450a58
mov ecx, dword [esp + 0x24]
xor esi, esi
cmp ecx, esi
je 0x450a0b
push ecx
call dword [0x49d4d0]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], esi
lea ecx, [esp + 0x24]
push esi
lea edx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push esi
lea eax, [ebx + eax + 8]
push 7
push eax
push ecx
call dword [0x49d4d8]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x20]
push esi
push esi
push 3
lea ecx, [ebx + eax + 8]
push esi
push ecx
push edx
call dword [0x49d4d4]
cmp eax, esi
je 0x450a74
cmp eax, 0x32
je 0x450f27
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
inc ebp
add ebx, 0x214
cmp ebp, ecx
mov dword [esp + 0x20], ebp
jb 0x4509df
xor ebx, ebx
jmp 0x450f2d
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], esi
cmp dword [eax + 4], esi
jbe 0x450ce7
xor ebx, ebx
push 0x358
call fcn.00461f3a
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
test esi, esi
je 0x450b0a
mov dword [esi], 0x4777ac
lea ecx, [esi + 0x14]
mov byte [esp + 0xac], 3
call fcn.004152e0
lea ecx, [esi + 0x264]
mov byte [esp + 0xac], 4
call fcn.004152e0
lea ecx, [esi + 0x290]
mov byte [esp + 0xac], 5
call fcn.004152e0
lea ecx, [esi + 0x2c0]
mov byte [esp + 0xac], 6
call fcn.00418b00
lea ecx, [esi + 0x324]
mov byte [esp + 0xac], 7
call fcn.004152e0
mov dword [esi], 0x47c3a0
mov ebp, esi
jmp 0x450b0c
xor ebp, ebp
xor esi, esi
mov byte [esp + 0xac], 1
cmp ebp, esi
je 0x450cc5
mov dword [ebp + 0x25c], esi
mov dword [ebp + 0x260], esi
mov ecx, dword [esp + 0x10]
lea eax, [ebp + 0xc]
push esi
push 1
lea edx, [ebx + ecx + 0x30]
mov ecx, dword [ebx + ecx + 0x30]
mov dword [eax], ecx
mov dx, word [edx + 4]
mov word [eax + 4], dx
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + eax + 8]
lea edx, [ebx + eax + 0xc]
push ecx
push edx
lea ecx, [esp + 0x4c]
call fcn.00415610
lea eax, [ebp + 0x14]
lea ecx, [esp + 0x3c]
push eax
call fcn.00416650
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx + ecx + 0x40]
mov dword [ebp + 0x40], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + eax + 0x44]
mov dword [ebp + 0x44], ecx
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + edx + 0x16c]
mov dword [ebp + 0x48], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx + ecx + 0x16c]
push edx
call fcn.00461d1b
add esp, 4
cmp eax, esi
mov dword [ebp + 0x4c], eax
je 0x450bd3
mov edx, dword [esp + 0x10]
mov edi, eax
mov esi, dword [ebx + edx + 0x168]
mov ecx, dword [ebx + edx + 0x16c]
add esi, ebx
mov eax, ecx
shr ecx, 2
lea esi, [esi + edx + 8]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x450bd6
mov dword [ebp + 0x48], esi
lea edx, [ebp + 0x50]
mov ecx, 0x7f
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, dword [esp + 0x10]
mov eax, dword [ebx + esi + 0x68]
shl eax, 1
cmp eax, 0x1fe
jbe 0x450bfc
mov eax, 0x1fe
mov ecx, eax
mov edi, edx
mov edx, ecx
lea esi, [ebx + esi + 0x6c]
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 + 0x10]
mov ecx, dword [ebx + eax + 0x64]
xor eax, eax
mov dword [ebp + 0x250], ecx
mov dword [ebp + 0x254], eax
mov dword [ebp + 0x258], eax
mov dword [ebp + 0x320], 0xffffffff
mov dword [ebp + 0x350], eax
mov dword [ebp + 0x354], eax
mov edx, dword [esp + 0x10]
test byte [ebx + edx + 0x60], 0x10
je 0x450c56
or dword [ebp + 0x260], 1
mov ecx, dword [esp + 0x10]
cmp dword [ebx + ecx + 0x38], 2
jne 0x450c68
or dword [ebp + 0x25c], 1
mov edx, dword [esp + 0x24]
cmp edx, eax
je 0x450c98
lea edi, [edx + 0x230]
mov edx, dword [esp + 0x10]
mov ecx, 3
xor eax, eax
lea esi, [ebx + edx + 0x30]
repe cmpsw word [esi], word es:[edi]
jne 0x450c98
mov eax, dword [ebp + 0x25c]
or al, 8
mov dword [ebp + 0x25c], eax
mov esi, dword [esp + 0x2c]
push ebp
mov ecx, esi
call fcn.0044e810
push 0x450890
push 2
lea eax, [ebp + 0x50]
push 0xff
push eax
call fcn.00463715
add esp, 0x10
lea ecx, [esi + 0x48]
push ebp
call fcn.00418d00
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
inc eax
add ebx, 0x168
mov edx, dword [ecx + 4]
mov dword [esp + 0x28], eax
cmp eax, edx
jb 0x450a87
mov ebp, dword [esp + 0x20]
mov eax, ebp
lea edx, [esp + 0x14]
shl eax, 5
add eax, ebp
push edx
mov edx, dword [esp + 0x1c]
xor esi, esi
lea ecx, [ebp + eax*4]
push esi
push esi
lea eax, [edx + ecx*4 + 8]
mov ecx, dword [esp + 0x28]
push eax
push ecx
call dword [0x49d4dc]
test eax, eax
jne 0x450f08
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], esi
cmp dword [eax], esi
jbe 0x450efb
mov edx, dword [esp + 0x2c]
mov edi, 0x270
add edx, 0x48
mov ebp, 0x40
mov dword [esp + 0x2c], edx
mov ebx, 0x20
mov ecx, dword [esp + 0x2c]
call fcn.00418eb0
mov esi, eax
test esi, esi
je 0x450ede
mov eax, dword [esp + 0x14]
lea ecx, [edi + eax - 0x268]
push ecx
call fcn.00462007
add esp, 4
test eax, eax
jne case.0x450dc6.2
push eax
mov eax, dword [esp + 0x18]
push 1
lea ecx, [esp + 0x44]
mov edx, dword [edi + eax - 0x68]
lea eax, [edi + eax - 0x64]
push edx
push eax
call fcn.00415610
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x40]
call fcn.00416650
push 0
lea ecx, [esp + 0x7c]
call fcn.00416510
push eax
lea ecx, [esi + 0x14]
call fcn.00415a40
test eax, eax
jne case.0x450dc6.2
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + ecx - 4]
dec eax
cmp eax, 9
ja case.0x450dc6.2
jmp dword [eax*4 + 0x450fbc]
cmp dword [edi + ecx], 0x101
jne case.0x450dc6.2
mov eax, dword [esi + 0x260]
or al, 1
jmp 0x450ec7
mov eax, dword [esi + 0x260]
or eax, ebp
mov dword [esi + 0x260], eax
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + edx]
cmp ecx, 4
jne 0x450e2b
or ah, 1
jmp 0x450ec7
mov eax, dword [esi + 0x260]
or eax, ebx
mov dword [esi + 0x260], eax
mov ecx, dword [esp + 0x14]
mov ecx, dword [edi + ecx]
cmp ecx, 4
jne 0x450e2b
or ah, 1
jmp 0x450ec7
cmp ecx, 2
jne case.0x450dc6.2
or al, 0x80
jmp 0x450ec7
mov eax, dword [esi + 0x260]
or al, 4
mov dword [esi + 0x260], eax
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + edx]
cmp ecx, 4
jne 0x450e77
or al, 0x10
jmp 0x450ec7
mov eax, dword [esi + 0x260]
or al, 2
mov dword [esi + 0x260], eax
mov ecx, dword [esp + 0x14]
mov ecx, dword [edi + ecx]
cmp ecx, 4
jne 0x450e77
or al, 0x10
jmp 0x450ec7
cmp ecx, 2
jne case.0x450dc6.2
or al, 8
jmp 0x450ec7
mov edx, dword [esi + 0x260]
or dh, 4
mov dword [esi + 0x260], edx
mov eax, edx
mov edx, dword [esp + 0x14]
cmp dword [edi + edx], 4
jne case.0x450dc6.2
or ah, 0x10
jmp 0x450ec7
mov eax, dword [esi + 0x260]
or ah, 8
mov dword [esi + 0x260], eax
mov ecx, dword [esp + 0x14]
cmp dword [edi + ecx], 4
jne case.0x450dc6.2
or ah, 0x10
jmp 0x450ec7
mov eax, dword [esi + 0x260]
or ah, 2
mov dword [esi + 0x260], eax
mov ecx, esi
call fcn.00418fc0
mov esi, eax
test esi, esi
jne 0x450d54
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc ecx
add edi, 0x274
mov edx, dword [eax]
mov dword [esp + 0x20], ecx
cmp ecx, edx
jb 0x450d41
push eax
call dword [0x49d4d0]
xor esi, esi
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x10]
push edx
call dword [0x49d4d0]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], 1
xor ebx, ebx
jmp 0x450f40
xor ebx, ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x450f40
push ecx
call dword [0x49d4d0]
mov eax, dword [esp + 0x18]
pop edi
cmp eax, ebx
pop ebp
je 0x450f4d
push eax
call dword [0x49d4d0]
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x450f5c
push eax
call dword [0x49d4d0]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x450f6b
push eax
call dword [0x49d4d0]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x450f7b
push ebx
push eax
call dword [0x49d4c8]
lea ecx, [esp + 0x70]
mov byte [esp + 0xa4], 0
call fcn.00415380
lea ecx, [esp + 0x34]
mov dword [esp + 0xa4], 0xffffffff
call fcn.00415380
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x20]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa0
ret