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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
call dword [0x482188]
mov dword [ebp - 0x18], eax
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00426f8b
mov dword [esi + 4], eax
xor eax, eax
add esp, 4
xor ebx, ebx
mov dword [ebp + 8], 2
cmp dword [ebp - 0x18], eax
jle 0x45ab0c
lea ebx, [ebx]
cmp word [edi + eax*2], 0x20
jne 0x45a9e5
inc eax
cmp word [edi + eax*2], 0x20
je 0x45a9dd
movzx ecx, word [edi + eax*2]
cmp ecx, 0x20
je 0x45aa00
mov edx, dword [esi + 4]
inc eax
mov word [edx + ebx*2], cx
movzx ecx, word [edi + eax*2]
inc ebx
cmp ecx, 0x20
jne 0x45a9ee
mov ecx, dword [esi + 4]
inc dword [ebp + 8]
mov edx, 0x7c
mov word [ecx + ebx*2], dx
inc ebx
cmp word [edi + eax*2], 0x20
jne 0x45aa1f
inc eax
cmp word [edi + eax*2], 0x20
je 0x45aa17
movzx ecx, word [edi + eax*2]
cmp ecx, 0x20
je 0x45aa40
cmp cx, 0x28
je 0x45aa40
mov edx, dword [esi + 4]
inc eax
mov word [edx + ebx*2], cx
movzx ecx, word [edi + eax*2]
inc ebx
cmp ecx, 0x20
jne 0x45aa28
mov ecx, dword [esi + 4]
mov edx, 0x3b
mov word [ecx + ebx*2], dx
mov ecx, 1
add ebx, ecx
cmp word [edi + eax*2], 0x20
jne 0x45aa63
add eax, ecx
cmp word [edi + eax*2], 0x20
je 0x45aa5a
cmp word [edi + eax*2], 0x28
jne 0x45aa6c
add eax, ecx
cmp word [edi + eax*2], 0x20
jne 0x45aa7f
lea ecx, [ecx]
add eax, ecx
cmp word [edi + eax*2], 0x20
je 0x45aa76
mov dword [ebp + 0xc], ecx
lea esp, [esp]
cmp word [edi + eax*2], 0x20
jne 0x45aa95
inc eax
cmp word [edi + eax*2], 0x20
je 0x45aa8d
movzx ecx, word [edi + eax*2]
cmp ecx, 0x3b
je 0x45aacd
cmp cx, 0x20
jne 0x45aaae
mov edi, edi
inc eax
cmp word [edi + eax*2], 0x20
je 0x45aaa6
movzx ecx, word [edi + eax*2]
cmp ecx, 0x29
je 0x45ad87
mov edx, dword [esi + 4]
inc eax
mov word [edx + ebx*2], cx
movzx ecx, word [edi + eax*2]
inc ebx
cmp ecx, 0x3b
jne 0x45aa9e
xor ecx, ecx
cmp word [edi + eax*2], 0x20
jne 0x45aade
inc eax
cmp word [edi + eax*2], 0x20
je 0x45aad6
cmp dword [ebp + 0xc], ecx
mov ecx, dword [esi + 4]
mov edx, 0xa
je 0x45aaf0
mov edx, 0x3b
mov word [ecx + ebx*2], dx
inc ebx
cmp word [edi + eax*2], 0x3b
jne 0x45aafd
inc eax
cmp dword [ebp + 0xc], 1
je 0x45aa86
cmp eax, dword [ebp - 0x18]
jl 0x45a9d6
cmp dword [esi + 0x24], 0
je 0x45ab16
add dword [ebp + 8], 3
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00426f8b
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, 0x1c
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00426f8b
mov dword [esi + 0xc], eax
mov dword [eax], 0x485574
mov eax, dword [esi + 0xc]
xor edi, edi
mov dword [eax + 4], edi
mov ecx, dword [esi + 0xc]
or eax, 0xffffffff
mov dword [ecx + 8], eax
mov edx, dword [esi + 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x10], 4
mov edx, dword [esi + 0xc]
mov dword [edx + 0x14], edi
mov ecx, dword [esi + 0xc]
mov edx, 1
mov word [ecx + 0x18], dx
mov ecx, dword [esi + 0xc]
xor edx, edx
mov word [ecx + 0x1a], dx
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x1c], edi
mov edx, dword [esi + 0xc]
mov dword [edx + 0x20], edi
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x24], edi
mov edx, dword [esi + 0xc]
mov dword [edx + 0x28], eax
mov eax, dword [esi + 0xc]
mov dword [eax + 0x2c], 4
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x30], edi
mov edx, dword [esi + 0xc]
mov eax, 2
mov word [edx + 0x34], ax
mov ecx, dword [esi + 0xc]
mov edx, 0x13
mov word [ecx + 0x36], dx
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 8]
mov dword [eax], edi
mov ecx, dword [esi + 8]
add esp, 8
mov dword [ecx + 4], edi
cmp dword [esi + 0x24], edi
je 0x45ad2f
mov edx, dword [esi + 0xc]
mov dword [edx + 0x38], 0x485598
mov eax, dword [esi + 0xc]
mov dword [eax + 0x40], 1
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x44], edi
mov edx, dword [esi + 0xc]
mov dword [edx + 0x48], 4
mov eax, dword [esi + 0xc]
mov dword [eax + 0x4c], 2
mov ecx, dword [esi + 0xc]
mov edx, 1
mov word [ecx + 0x50], dx
mov eax, dword [esi + 0xc]
mov ecx, 3
push 0x10
mov dword [ebp + 0xc], 5
mov word [eax + 0x52], cx
call fcn.00426f8b
mov edx, dword [esi + 8]
mov dword [edx + 8], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, 0x48
mov word [ecx + 4], dx
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, 0x4013
mov word [ecx + 0xc], dx
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov dword [ecx], edi
mov edx, dword [esi + 8]
mov eax, dword [edx + 8]
mov dword [eax + 8], edi
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 8]
mov edx, dword [esi + 0xc]
mov dword [edx + 0x3c], eax
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x54], 0x4855b8
mov edx, dword [esi + 0xc]
mov dword [edx + 0x58], edi
mov ecx, dword [esi + 0xc]
mov eax, 2
mov dword [ecx + 0x5c], eax
mov edx, dword [esi + 0xc]
mov dword [edx + 0x60], 1
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x64], 4
mov edx, dword [esi + 0xc]
mov dword [edx + 0x68], edi
mov ecx, dword [esi + 0xc]
mov edx, 1
mov word [ecx + 0x6c], dx
mov ecx, dword [esi + 0xc]
mov edx, 0x13
mov word [ecx + 0x6e], dx
mov ecx, dword [esi + 8]
mov dword [ecx + 0xc], edi
mov edx, dword [esi + 0xc]
mov dword [edx + 0x70], 0x4855c8
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x74], edi
mov edx, dword [esi + 0xc]
mov dword [edx + 0x78], 3
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x7c], eax
mov edx, dword [esi + 0xc]
mov dword [edx + 0x80], 4
mov eax, dword [esi + 0xc]
mov dword [eax + 0x84], edi
mov ecx, dword [esi + 0xc]
mov edx, 1
mov word [ecx + 0x88], dx
mov eax, dword [esi + 0xc]
mov ecx, 0x13
mov word [eax + 0x8a], cx
mov edx, dword [esi + 8]
add esp, 4
mov dword [edx + 0x10], edi
mov eax, dword [esi + 4]
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edi
cmp ebx, edi
jle 0x45af7d
mov eax, dword [ebp + 0xc]
lea edi, [eax*8]
sub edi, eax
add edi, edi
lea ecx, [eax*4]
add edi, edi
add eax, 0xfffffffe
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
movzx edx, word [ecx + eax*2]
cmp edx, 0x7c
jne 0x45ad92
xor edx, edx
mov word [ecx + eax*2], dx
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
jmp 0x45af71
xor ecx, ecx
mov dword [ebp + 0xc], ecx
inc eax
jmp 0x45aacf
cmp edx, 0xa
je 0x45ada0
test dx, dx
jne 0x45af71
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [edi + eax], ecx
mov eax, dword [ebp - 0x1c]
mov edx, dword [esi + 0xc]
lea ecx, [eax + 1]
mov dword [edx + edi + 8], ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [esi + 0xc]
mov dword [ecx + edi + 0xc], eax
mov edx, dword [esi + 0xc]
mov ecx, dword [ebp - 4]
mov eax, 1
mov word [edx + edi + 0x18], ax
xor edx, edx
xor eax, eax
mov dword [ebp - 8], edx
cmp word [ecx], dx
je 0x45ae0d
mov edx, ecx
mov edi, edi
cmp word [edx], 0x3b
jne 0x45ae00
cmp word [edx + 2], 0
je 0x45adf8
inc dword [ebp - 8]
jmp 0x45ae00
xor ecx, ecx
mov word [edx], cx
mov ecx, dword [ebp - 4]
inc eax
cmp word [ecx + eax*2], 0
lea edx, [ecx + eax*2]
jne 0x45ade6
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
test eax, eax
jle 0x45ae39
cmp word [ecx + edx*2], 0x3b
je 0x45ae24
inc edx
cmp edx, eax
jl 0x45ae16
jmp 0x45ae39
xor eax, eax
cmp word [ecx + edx*2 + 2], 0
mov word [ecx + edx*2], ax
lea eax, [ecx + edx*2 + 2]
je 0x45ae39
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0xc]
add eax, edi
lea edx, [eax + 0x1a]
push edx
add eax, 0x10
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.0044a67d
mov eax, dword [ebp - 8]
mov ecx, dword [esi + 0xc]
mov dword [ecx + edi + 0x14], eax
test eax, eax
je 0x45af3a
xor ecx, ecx
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00426f8b
mov ecx, dword [esi + 8]
mov edx, dword [ebp + 0xc]
add esp, 4
cmp dword [ebp - 0xc], 0
mov dword [edx + ecx], eax
je 0x45af28
mov ecx, dword [ebp - 0xc]
cmp word [ecx], 0
mov dword [ebp - 0x14], 0
mov eax, ecx
mov dword [ebp - 0x1c], 0
je 0x45af01
mov edx, ecx
mov dword [ebp - 8], ecx
cmp word [edx], 0x3b
jne 0x45aeed
mov edx, dword [ebp - 8]
xor ecx, ecx
push eax
mov word [edx], cx
call fcn.0044a5bd
mov ecx, dword [esi + 8]
mov edx, dword [ebp + 0xc]
mov edx, dword [ecx + edx]
mov ecx, dword [ebp - 0x14]
mov word [edx + ecx*8 + 4], ax
mov eax, dword [esi + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + edx]
mov dword [eax + ecx*8], 0
mov eax, dword [ebp - 8]
add eax, 2
inc ecx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
inc edx
cmp word [ecx + edx*2], 0
mov dword [ebp - 0x1c], edx
lea edx, [ecx + edx*2]
mov dword [ebp - 8], edx
jne 0x45aeab
push eax
call fcn.0044a5bd
mov ecx, dword [esi + 8]
mov edx, dword [ebp + 0xc]
mov edx, dword [ecx + edx]
mov ecx, dword [ebp - 0x14]
mov word [edx + ecx*8 + 4], ax
mov eax, dword [esi + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + edx]
mov dword [eax + ecx*8], 0
mov ecx, dword [esi + 8]
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + 0xc]
mov ecx, dword [eax + ecx]
mov dword [edx + edi + 4], ecx
jmp 0x45af52
mov edx, dword [esi + 8]
mov eax, dword [ebp + 0xc]
mov dword [eax + edx], 0
mov ecx, dword [esi + 0xc]
mov dword [ecx + edi + 4], 0
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
add dword [ebp + 0xc], 4
mov dword [ebp - 0x1c], edx
lea edx, [eax + ecx*2 + 2]
mov eax, ecx
mov ecx, dword [ebp - 0x18]
add edi, 0x1c
mov dword [ebp - 0x14], edx
inc eax
mov dword [ebp - 0x10], eax
cmp eax, ebx
jl 0x45ad6c
push 8
call fcn.00426f8b
mov ecx, dword [ebp + 8]
mov dword [esi + 0x10], eax
add esp, 4
mov dword [eax + 4], ecx
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
pop edi
pop esi
mov dword [edx], eax
pop ebx
mov esp, ebp
pop ebp
ret 8