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

Disassembly:
sub esp, 0x88
xor ecx, ecx
mov dword [esp + 0x14], esi
mov esi, ecx
mov dword [esp + 0x84], eax
mov edx, dword [esp + 0x84]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], ecx
cmp dword [edx + 0xa8], ecx
je 0x459ec9
lea ebx, [edx + 0xa4]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], esi
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov ecx, dword [edi]
mov esi, dword [ecx + eax*4]
cmp byte [esi + 0x58], 0
je 0x459b2f
xor ebx, ebx
xor ebp, ebp
cmp dword [esi + 0x4c], 0
je 0x459b00
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx + ebp*4]
mov ecx, dword [esi + 0x54]
cmp byte [ecx + ebp], 0x10
jne 0x4599a1
add ebx, edx
jmp 0x459af5
mov dword [esp + 0x5c], edx
mov ecx, dword [esi + 0xc]
mov eax, ebp
bt dword [ecx], eax
jb 0x459ac5
mov ecx, ebp
shl ecx, 0xc
add ecx, dword [esi]
mov dword [esp + 0x50], ecx
cmp dword [esi + 0x20], 0
je 0x459a53
lea eax, [esi + 0x1c]
mov edi, dword [eax]
mov edx, ebp
btr dword [edi], edx
jae 0x459a53
mov edx, dword [esp + 0x5c]
shl edx, 0xc
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x4599f3
lea eax, [esi + 0x1c]
mov eax, dword [eax]
mov ecx, ebp
bt dword [eax], ecx
jae 0x4599f3
mov edi, 1
cmp dword [esi + 0x28], 0
je 0x459a0b
lea ecx, [esi + 0x24]
mov ecx, dword [ecx]
mov eax, ebp
bt dword [ecx], eax
jae 0x459a0b
or edi, 0x20
mov ecx, dword [esi + 0x2c]
mov eax, ebp
bt dword [ecx], eax
jae 0x459a1b
or edi, 2
cmp dword [esi + 0x40], 0
je 0x459a31
lea ecx, [esi + 0x3c]
mov ecx, dword [ecx]
bt dword [ecx], eax
jae 0x459a31
or edi, 0x10
mov ecx, dword [esi + 0x34]
bt dword [ecx], eax
jae 0x459a3f
or edi, 8
mov dword [esp + 4], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edi
mov dword [esp], edx
call fcn.0045f84c
mov edi, ebp
mov ecx, ebp
mov eax, 1
and ecx, 0x1f
shl eax, cl
shr edi, 5
cmp dword [esi + 0x28], 0
mov edx, dword [esp + 0x5c]
not eax
je 0x459a79
mov ecx, dword [esi + 0x24]
and dword [ecx + edi*4], eax
mov ecx, dword [esi + 0x2c]
and dword [ecx + edi*4], eax
mov ecx, dword [esi + 0x34]
and dword [ecx + edi*4], eax
cmp dword [esi + 0x40], 0
je 0x459a91
mov ecx, dword [esi + 0x3c]
and dword [ecx + edi*4], eax
lea ecx, [ebp + edx]
mov edi, dword [esi + 0x54]
sub ecx, ebp
mov eax, 0x10101010
add edi, ebp
rep stosb byte es:[edi], al
cmp ebp, dword [esi + 0xa0]
jae 0x459ab1
mov dword [esi + 0xa0], ebp
add dword [esi + 0x50], edx
mov ecx, dword [esi + 0x50]
add ebx, edx
add dword [esp + 0x4c], edx
mov dword [esi + 0xa4], ecx
jmp 0x459af5
mov edx, dword [esp + 0x5c]
test ebx, ebx
je 0x459af5
mov dword [esp + 0x5c], edx
mov eax, ebp
sub eax, ebx
mov edx, dword [esi + 0x60]
cmp ebx, 1
mov dword [edx + eax*4], ebx
jbe 0x459aef
lea ecx, [eax + ebx]
mov edx, dword [esi + 0x60]
lea ecx, [edx + ecx*4]
mov dword [ecx - 4], ebx
mov edx, dword [esp + 0x5c]
xor ebx, ebx
add ebp, edx
cmp ebp, dword [esi + 0x4c]
jb 0x45998b
test ebx, ebx
je 0x459eb7
mov eax, ebp
sub eax, ebx
mov edx, dword [esi + 0x60]
mov dword [edx + eax*4], ebx
cmp ebx, 1
jbe 0x459eb7
lea ecx, [eax + ebx]
mov edx, dword [esi + 0x60]
lea ecx, [edx + ecx*4]
mov dword [ecx - 4], ebx
jmp 0x459eb7
mov dword [esp + 8], 0xe
mov edx, dword [esi + 0x4c]
lea ebx, [esi + 0x64]
mov dword [esp + 4], edx
mov dword [esp], ebx
call fcn.00434180
xor ebp, ebp
cmp dword [esi + 0x4c], 0
je 0x459eb7
mov dword [esp + 0x74], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov eax, dword [esi + 0x54]
movzx ecx, byte [eax + ebp]
cmp cl, 0xe
jae 0x459e98
mov byte [esp + 0x81], cl
mov edx, dword [esi + 0x14]
mov ebx, dword [esi + 0xc]
add edx, dword [esp + 0x58]
mov ecx, 8
xor eax, eax
add ebx, dword [esp + 0x58]
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov ecx, dword [edx]
mov eax, dword [ebx]
not ecx
not eax
and ecx, eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 4]
mov edi, dword [ebx + 4]
not ecx
not edi
and ecx, edi
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 8]
mov eax, dword [ebx + 8]
not ecx
not eax
and ecx, eax
mov dword [esp + 0x24], ecx
mov ecx, dword [edx + 0xc]
mov edi, dword [ebx + 0xc]
not ecx
not edi
and ecx, edi
mov dword [esp + 0x28], ecx
mov ecx, dword [edx + 0x10]
mov eax, dword [ebx + 0x10]
not ecx
not eax
and ecx, eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [edx + 0x14]
mov edi, dword [ebx + 0x14]
not ecx
not edi
and ecx, edi
mov dword [esp + 0x30], ecx
mov ecx, dword [edx + 0x18]
mov eax, dword [ebx + 0x18]
not ecx
not eax
and ecx, eax
mov dword [esp + 0x34], ecx
mov ecx, dword [edx + 0x1c]
mov edi, dword [ebx + 0x1c]
not ecx
not edi
and ecx, edi
mov dword [esp + 0x38], ecx
cmp dword [esp + 0x1c], 0
jne 0x459c55
cmp dword [esp + 0x20], 0
jne 0x459c55
cmp dword [esp + 0x24], 0
jne 0x459c55
cmp dword [esp + 0x28], 0
jne 0x459c55
cmp dword [esp + 0x2c], 0
jne 0x459c55
cmp dword [esp + 0x30], 0
jne 0x459c55
cmp dword [esp + 0x34], 0
jne 0x459c55
test ecx, ecx
jne 0x459c55
mov edi, dword [esi + 0x60]
mov dword [edi + ebp*4], 0xffffffff
jmp 0x459e98
mov eax, dword [edx]
not eax
cmp eax, dword [esp + 0x1c]
jne 0x459caa
mov edi, dword [edx + 4]
not edi
cmp edi, dword [esp + 0x20]
jne 0x459caa
mov eax, dword [edx + 8]
not eax
cmp eax, dword [esp + 0x24]
jne 0x459caa
mov edi, dword [edx + 0xc]
not edi
cmp edi, dword [esp + 0x28]
jne 0x459caa
mov eax, dword [edx + 0x10]
not eax
cmp eax, dword [esp + 0x2c]
jne 0x459caa
mov edi, dword [edx + 0x14]
not edi
cmp edi, dword [esp + 0x30]
jne 0x459caa
mov eax, dword [edx + 0x18]
not eax
cmp eax, dword [esp + 0x34]
jne 0x459caa
mov edi, dword [edx + 0x1c]
not edi
cmp edi, ecx
je 0x459cae
xor eax, eax
jmp 0x459cb3
mov eax, 1
xor ebx, ebx
mov edi, dword [esi + 0x1c]
mov byte [esp + 0x80], al
test edi, edi
je 0x459d18
mov eax, dword [esp + 0x58]
lea edx, [edi + eax]
mov edi, dword [edx]
test dword [esp + 0x1c], edi
jne 0x459d13
mov eax, dword [edx + 4]
test dword [esp + 0x20], eax
jne 0x459d13
mov edi, dword [edx + 8]
test dword [esp + 0x24], edi
jne 0x459d13
mov eax, dword [edx + 0xc]
test dword [esp + 0x28], eax
jne 0x459d13
mov edi, dword [edx + 0x10]
test dword [esp + 0x2c], edi
jne 0x459d13
mov eax, dword [edx + 0x14]
test dword [esp + 0x30], eax
jne 0x459d13
mov edi, dword [edx + 0x18]
test dword [esp + 0x34], edi
jne 0x459d13
mov eax, dword [edx + 0x1c]
test ecx, eax
jne 0x459d13
xor ebx, ebx
jmp 0x459d18
mov ebx, 1
test bl, bl
je 0x459e3d
movzx ecx, byte [esp + 0x81]
movsx ebx, word [ecx*2 + 0x483480]
mov eax, ebx
cwde
cdq
and edx, 0xf
add eax, edx
sar eax, 4
mov dword [esp + 0x60], eax
mov edx, dword [esi]
add edx, dword [esp + 0x54]
lea ecx, [edx + 0x1001]
mov dword [esp + 0x7c], edx
movsx eax, bx
sub ecx, eax
mov dword [esp + 0x68], ecx
xor edi, edi
cmp edx, ecx
jae 0x459e3d
lea edx, [esi + 0xc]
lea ecx, [esi + 0x1c]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x64], ecx
movsx edx, bx
mov dword [esp + 0x70], edx
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x74]
mov edx, dword [ecx]
add ebx, edi
bt dword [edx], ebx
jb 0x459e23
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x459e23
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
bt dword [eax], ebx
jae 0x459e23
mov dword [esp + 0x78], edi
xor edi, edi
test ecx, ecx
je 0x459dbf
lea ecx, [esi + 0x1c]
mov edx, dword [ecx]
bt dword [edx], ebx
jae 0x459dbf
mov edi, 1
cmp dword [esi + 0x28], 0
je 0x459dd5
lea ecx, [esi + 0x24]
mov edx, dword [ecx]
bt dword [edx], ebx
jae 0x459dd5
or edi, 0x20
mov ecx, dword [esi + 0x2c]
bt dword [ecx], ebx
jae 0x459de3
or edi, 2
cmp dword [esi + 0x40], 0
je 0x459df9
lea edx, [esi + 0x3c]
mov ecx, dword [edx]
bt dword [ecx], ebx
jae 0x459df9
or edi, 0x10
mov edx, dword [esi + 0x34]
bt dword [edx], ebx
jae 0x459e07
or edi, 8
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x7c]
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.0045f84c
mov edi, dword [esp + 0x78]
add edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x70]
add dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x7c]
cmp edx, dword [esp + 0x68]
jb 0x459d7b
cmp byte [esp + 0x80], 0
je 0x459e71
push ebp
mov eax, esi
call fcn.0045d178
mov ecx, dword [esi + 0x54]
mov byte [ecx + ebp], 0x10
mov ebx, dword [esi + 0x60]
mov edx, dword [esi + 0xa0]
mov dword [ebx + ebp*4], edx
mov dword [esi + 0xa0], ebp
inc dword [esi + 0x50]
inc dword [esp + 0x48]
jmp 0x459e98
push ebp
lea eax, [esp + 0x20]
push eax
mov eax, esi
call fcn.0045cf38
movzx ebx, byte [esp + 0x81]
lea ecx, [esi + ebx*4]
mov edi, dword [esi + 0x60]
mov edx, dword [ecx + 0x64]
mov dword [edi + ebp*4], edx
lea eax, [esi + ebx*4]
mov dword [eax + 0x64], ebp
add dword [esp + 0x74], 0x100
add dword [esp + 0x54], 0x1000
add dword [esp + 0x58], 0x20
inc ebp
cmp ebp, dword [esi + 0x4c]
jb 0x459b61
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
inc esi
cmp esi, dword [eax + 4]
jb 0x459962
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
sub dword [esi + 0xf8], ebx
lea eax, [ebx + edi]
sub dword [esi + 0xf4], edi
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
add esp, 0x88
ret