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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
mov ecx, dword [ebp + 0x14]
push ebx
push esi
push edi
mov edi, eax
or eax, 0xffffffff
mov dword [esp + 0x14], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
test dword [ebp + 0x18], 0xe20f5a6f
lea esi, [eax + ecx]
lea edx, [esi - 1]
mov ecx, edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], ecx
je 0x45bb93
lea eax, [ebx - 3]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, ebx
je 0x45c566
cmp eax, ebx
je 0x45c566
cmp dword [ebp + 0x1c], ebx
jne 0x45bbb1
cmp dword [ebp + 0x20], ebx
jg 0x45c566
cmp dword [ebp + 0x20], ebx
jge 0x45bbc2
mov eax, 0xfffffff1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, word [edi + 0x18]
movzx edx, word [edi + 0x1c]
add eax, edi
mov dword [esp + 0x80], eax
movzx eax, word [edi + 0x1a]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x78], edx
mov edx, dword [edi + 0x20]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x5c], 0x989680
mov dword [esp + 0x60], 0x1770
mov dword [esp + 0xe8], ebx
mov dword [esp + 0x10], edx
cmp eax, ebx
je 0x45bc51
mov edx, dword [eax]
test dl, 1
je 0x45bc18
mov ebx, dword [eax + 4]
mov dword [esp + 0x1c], ebx
xor ebx, ebx
test dl, 2
je 0x45bc26
mov ebx, dword [eax + 8]
mov dword [esp + 0x5c], ebx
xor ebx, ebx
test dl, 0x10
je 0x45bc34
mov ebx, dword [eax + 0x14]
mov dword [esp + 0x60], ebx
xor ebx, ebx
test dl, 4
je 0x45bc45
mov ebx, dword [eax + 0xc]
mov dword [esp + 0xe8], ebx
xor ebx, ebx
test dl, 8
je 0x45bc51
mov eax, dword [eax + 0x10]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], ebx
jne 0x45bc5f
mov dword [esp + 0x10], 0x496928
cmp dword [edi], 0x50435245
je 0x45bcae
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0xf4]
push ecx
lea eax, [esp + 0x124]
mov edx, edi
call fcn.0045c6d0
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x45bc98
mov eax, 0xfffffffc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
je 0x45bcae
lea edx, [esp + 0xf4]
mov dword [esp + 0x1c], edx
mov eax, dword [ecx + 8]
mov ebx, dword [ebp + 0x18]
mov edx, eax
or edx, ebx
shr edx, 4
and edx, 1
mov dword [esp + 0x44], edx
movzx edx, word [ecx + 0xc]
shr eax, 0x12
shr edx, 3
and eax, 1
and edx, 1
mov dword [esp + 0x3c], eax
movzx eax, word [ecx + 0x1a]
mov dword [esp + 0x34], edx
movzx edx, word [ecx + 0x1c]
imul edx, eax
movzx eax, word [ecx + 0x18]
add edx, edi
add eax, edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0xb4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xb8], eax
add eax, dword [ebp + 0x10]
mov dword [esp + 0xd8], edx
mov dword [esp + 0xbc], eax
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 8]
shr eax, 5
and eax, 1
mov dword [esp + 0xa0], eax
mov edx, dword [ecx + 8]
shr edx, 0x19
and edx, 1
mov dword [esp + 0x9c], edx
mov eax, ebx
shr eax, 7
and eax, 1
mov edx, ebx
shr edx, 8
and edx, 1
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], edx
mov eax, ebx
mov edx, ebx
shr eax, 0xa
shr edx, 0x1c
and eax, 1
and edx, 1
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
test ebx, 0x8000000
je 0x45bd81
mov eax, 2
jmp 0x45bd89
mov eax, ebx
shr eax, 0xf
and eax, 1
mov edi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x88], eax
add eax, 0x340
xor edx, edx
mov dword [esp + 0x8c], eax
mov eax, ebx
and eax, 0x1800000
mov dword [esp + 0xcc], edi
mov dword [esp + 0xac], edx
mov dword [esp + 0xec], edx
mov dword [esp + 0xe4], edx
je 0x45bdf0
cmp eax, 0x800000
je 0x45bde3
cmp eax, 0x1000000
je 0x45be09
mov eax, 0xffffffe9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0xb0], 1
jmp 0x45be10
mov eax, dword [ecx + 8]
test eax, 0x1800000
je 0x45be09
shr eax, 0x17
and eax, 1
mov dword [esp + 0xb0], eax
jmp 0x45be10
mov dword [esp + 0xb0], edx
test ebx, 0x700000
jne 0x45be1d
mov eax, dword [ecx + 8]
jmp 0x45be1f
mov eax, ebx
and eax, 0x700000
cmp eax, 0x300000
ja 0x45be7c
je 0x45be75
cmp eax, edx
je 0x45be75
cmp eax, 0x100000
je 0x45be6e
cmp eax, 0x200000
jne 0x45bdd7
mov eax, 0xa
mov dword [esp + 0x70], edx
cmp eax, 0xff
jle 0x45bea2
mov edx, eax
sar edx, 8
mov byte [esp + 0x84], dl
mov dword [esp + 0x74], 2
mov byte [esp + 0x85], al
xor edx, edx
jmp 0x45beb1
mov eax, 0xd
jmp 0x45be44
mov eax, 0xd0a
jmp 0x45be44
cmp eax, 0x400000
je 0x45be98
cmp eax, 0x500000
jne 0x45bdd7
mov dword [esp + 0x70], 2
jmp 0x45beb1
mov dword [esp + 0x70], 1
jmp 0x45beb1
mov dword [esp + 0x74], 1
mov byte [esp + 0x84], al
cmp edi, edx
je 0x45bec7
test byte [ecx + 0xc], 1
je 0x45bec7
mov eax, 0xfffffff3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 8]
and eax, 7
mov dword [esp + 0xf0], eax
mov eax, 0x55555556
imul dword [ebp + 0x20]
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edi, [eax + eax*2]
movzx eax, word [ecx + 0x12]
test ax, ax
je 0x45bf36
mov ecx, eax
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jl 0x45bf36
lea edi, [ecx + ecx*2 + 3]
lea ecx, [edi*4]
push ecx
call dword [0x49d2d0]
add esp, 4
mov dword [esp + 0x64], eax
test eax, eax
jne 0x45bf2c
mov eax, 0xfffffffa
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x30], 1
jmp 0x45bf3d
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x64], edx
lea ecx, [edi + edi]
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x18]
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], edi
mov dword [esp + 0x90], 0
mov dword [esp + 0xd4], 0xffffffff
movzx eax, word [ecx + 0x10]
lea eax, [eax + eax + 2]
mov dword [esp + 0x2c], eax
cmp eax, dword [ebp + 0x20]
jle 0x45bf85
mov dword [esp + 0x2c], edi
cmp dword [esp + 0x64], 0
je 0x45bfbd
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x2c]
lea ecx, [edx + edi*4]
cdq
sub eax, edx
sar eax, 1
mov edx, 1
sub edx, eax
lea eax, [ecx + edx*4]
sub ecx, 4
cmp ecx, eax
jb 0x45bfbd
lea ecx, [ecx]
mov dword [ecx], 0xffffffff
sub ecx, 4
cmp ecx, eax
jae 0x45bfb0
cmp dword [esp + 0x44], 0
mov edi, dword [esp + 0x64]
mov edx, dword [esp + 0x18]
jne 0x45c01d
test byte [edx + 0xc], 2
je 0x45c001
movzx eax, word [edx + 0x14]
mov ecx, eax
and ecx, 0xff
shr eax, 8
and eax, 1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x54], eax
je 0x45c01d
mov eax, ecx
mov ecx, dword [esp + 0x88]
movzx eax, byte [ecx + eax]
mov dword [esp + 0x14], eax
jmp 0x45c01d
cmp dword [esp + 0x34], 0
jne 0x45c01d
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x45c01d
test byte [eax + 4], 1
je 0x45c01d
add eax, 8
mov dword [esp + 0x24], eax
test byte [edx + 0xc], 4
je 0x45c04d
movzx eax, word [edx + 0x16]
mov edx, dword [esp + 0x10]
mov ecx, eax
and ecx, 0xff
shr eax, 8
and eax, 1
mov dword [esp + 0x48], eax
movzx eax, byte [edx + ecx + 0x100]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
and ebx, 0x4000000
mov dword [esp + 0x40], ebx
jmp 0x45c060
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10], edx
test edi, edi
je 0x45c083
mov ecx, dword [esp + 0x2c]
lea ecx, [edi + ecx*4]
cmp edi, ecx
jae 0x45c083
sub ecx, edi
dec ecx
shr ecx, 2
inc ecx
or eax, 0xffffffff
rep stosd dword es:[edi], eax
cmp dword [esp + 0x3c], 0
mov eax, dword [esp + 0xbc]
je 0x45c0fa
mov ecx, esi
cmp esi, eax
jae 0x45c0f4
cmp dword [esp + 0x70], 0
je 0x45c0c7
mov edx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0xc0]
lea esi, [esp + 0x78]
call fcn.0045c8c0
mov esi, dword [esp + 0x10]
add esp, 4
test eax, eax
jne 0x45c0f4
mov eax, dword [esp + 0xbc]
jmp 0x45c0ef
mov edi, dword [esp + 0x74]
mov edx, eax
sub edx, edi
cmp ecx, edx
ja 0x45c0ef
mov dl, byte [ecx]
cmp dl, byte [esp + 0x84]
jne 0x45c0ef
cmp edi, 1
je 0x45c0f4
mov dl, byte [ecx + 1]
cmp dl, byte [esp + 0x85]
je 0x45c0f4
inc ecx
cmp ecx, eax
jb 0x45c097
mov edx, ecx
mov dword [esp + 0x20], edx
cmp dword [esp + 0x40], 0
jne 0x45c257
cmp dword [esp + 0x14], 0
jl 0x45c167
cmp dword [esp + 0x54], 0
je 0x45c142
cmp esi, edx
jae 0x45c257
jmp 0x45c120
movzx eax, byte [esi]
mov ecx, dword [esp + 0x88]
movzx eax, byte [eax + ecx]
cmp eax, dword [esp + 0x14]
je 0x45c253
inc esi
cmp esi, edx
jb 0x45c120
jmp 0x45c253
cmp esi, edx
jae 0x45c257
lea ebx, [ebx]
movzx ecx, byte [esi]
cmp ecx, dword [esp + 0x14]
je 0x45c253
inc esi
cmp esi, edx
jb 0x45c150
jmp 0x45c253
cmp dword [esp + 0x34], 0
je 0x45c226
mov ecx, dword [esp + 0xb8]
add ecx, dword [ebp + 0x14]
cmp esi, ecx
jbe 0x45c257
cmp esi, edx
jae 0x45c206
lea esp, [esp]
cmp dword [esp + 0x70], 0
je 0x45c1ca
cmp esi, dword [esp + 0xb8]
jbe 0x45c1fd
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0xb8]
mov ecx, dword [esp + 0xc]
push edx
lea edx, [esp + 0x78]
call fcn.0045c950
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
add esp, 4
test eax, eax
jne 0x45c206
jmp 0x45c1fd
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0xb8]
cmp esi, eax
jb 0x45c1fd
mov cl, byte [esp + 0x84]
mov eax, esi
sub eax, dword [esp + 0x74]
cmp byte [eax], cl
jne 0x45c1fd
cmp dword [esp + 0x74], 1
je 0x45c206
mov cl, byte [esp + 0x85]
cmp byte [eax + 1], cl
je 0x45c206
inc esi
mov dword [esp + 0xc], esi
cmp esi, edx
jb 0x45c190
cmp byte [esi - 1], 0xd
jne 0x45c257
mov eax, dword [esp + 0x70]
cmp eax, 1
je 0x45c21a
cmp eax, 2
jne 0x45c257
cmp esi, edx
jae 0x45c257
cmp byte [esi], 0xa
jne 0x45c257
inc esi
jmp 0x45c253
cmp dword [esp + 0x24], 0
je 0x45c257
cmp esi, edx
jae 0x45c257
mov edi, dword [esp + 0x24]
movzx eax, byte [esi]
mov ecx, eax
and ecx, 7
mov ebx, 1
shl ebx, cl
shr eax, 3
mov al, byte [eax + edi]
test al, bl
jne 0x45c253
inc esi
cmp esi, edx
jb 0x45c235
mov dword [esp + 0xc], esi
cmp dword [esp + 0x40], 0
mov edi, dword [esp + 0x10]
mov dword [esp + 0x20], edi
jne 0x45c2fc
cmp dword [esp + 0xcc], 0
jne 0x45c2fc
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x45c28f
test byte [eax + 4], 2
je 0x45c28f
mov ecx, edi
sub ecx, esi
cmp ecx, dword [eax + 0x28]
jb 0x45c2d2
mov edx, dword [esp + 0x4c]
test edx, edx
js 0x45c2fc
mov eax, edi
sub eax, esi
cmp eax, 0x3e8
jge 0x45c2fc
xor eax, eax
cmp dword [esp + 0x14], eax
setge al
add eax, esi
cmp eax, dword [esp + 0x38]
jbe 0x45c2fc
cmp dword [esp + 0x48], 0
je 0x45c2d9
cmp eax, edi
jae 0x45c2d2
mov edi, edi
movzx ecx, byte [eax]
inc eax
cmp ecx, edx
je 0x45c2f3
cmp ecx, dword [esp + 0x50]
je 0x45c2f3
cmp eax, edi
jb 0x45c2c0
xor edi, edi
jmp 0x45c455
cmp eax, edi
jae 0x45c2d2
lea ecx, [ecx]
movzx ecx, byte [eax]
inc eax
cmp ecx, edx
je 0x45c2f3
cmp eax, edi
jb 0x45c2e0
xor edi, edi
jmp 0x45c455
dec eax
cmp eax, edi
jae 0x45c2d2
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0xf0]
mov ecx, dword [esp + 0xb4]
push 0
push 0
push 0
push edx
lea eax, [esp + 0x68]
push eax
push 2
push 0
push esi
push ecx
push esi
mov dword [esp + 0xe8], esi
mov dword [esp + 0xf0], esi
mov dword [esp + 0x80], 0
call fcn.00457da0
add esp, 0x28
cmp dword [esp + 0xac], 0
mov edi, eax
je 0x45c35c
cmp dword [esp + 0x28], 0
jne 0x45c35c
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x28], edx
test edi, edi
jg 0x45c448
je 0x45c389
lea eax, [edi + 0x3e6]
cmp eax, 4
ja 0x45c448
jmp dword [eax*4 + 0x475574]
lea ebx, [esi + 1]
mov eax, dword [esp + 0x70]
xor edi, edi
cmp dword [esp + 0x3c], edi
je 0x45c3f3
test eax, eax
je 0x45c3c6
mov edx, dword [esp + 0xbc]
cmp esi, edx
jae 0x45c3f3
mov ecx, dword [esp + 0xc]
push eax
lea esi, [esp + 0x78]
call fcn.0045c8c0
add esp, 4
test eax, eax
jne 0x45c455
mov eax, dword [esp + 0x70]
jmp 0x45c3f3
mov ecx, dword [esp + 0xbc]
sub ecx, dword [esp + 0x74]
cmp esi, ecx
ja 0x45c3f3
mov dl, byte [esp + 0x84]
cmp byte [esi], dl
jne 0x45c3f3
cmp dword [esp + 0x74], 1
je 0x45c455
mov cl, byte [esp + 0x85]
cmp byte [esi + 1], cl
je 0x45c455
mov dword [esp + 0xc], ebx
cmp dword [esp + 0x44], edi
jne 0x45c455
cmp ebx, dword [esp + 0x10]
ja 0x45c455
cmp byte [ebx - 1], 0xd
jne 0x45c434
cmp ebx, dword [esp + 0x10]
jae 0x45c434
cmp byte [ebx], 0xa
jne 0x45c434
mov edx, dword [esp + 0x18]
test byte [edx + 0xc], 0x20
jne 0x45c434
cmp eax, 1
je 0x45c42f
cmp eax, 2
je 0x45c42f
cmp dword [esp + 0x74], 2
jne 0x45c434
inc ebx
mov dword [esp + 0xc], ebx
mov esi, dword [esp + 0xc]
mov dword [esp + 0xec], edi
mov edi, dword [esp + 0x64]
jmp 0x45c060
cmp edi, 1
je 0x45c4ba
cmp edi, 0xfffffc19
je 0x45c4ba
cmp dword [esp + 0x30], 0
je 0x45c46a
mov eax, dword [esp + 0x64]
push eax
call dword [0x49d2d4]
add esp, 4
test edi, edi
je 0x45c47c
cmp edi, 0xfffffff4
je 0x45c47c
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x28]
test eax, eax
je 0x45c4b2
cmp dword [ebp + 0x20], 1
mov dword [esp + 0xec], 0
jle 0x45c4a8
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
sub eax, edx
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
sub eax, edx
mov dword [ecx + 4], eax
mov eax, 0xfffffff4
jmp 0x45c547
or eax, 0xffffffff
jmp 0x45c547
cmp dword [esp + 0x30], 0
mov esi, dword [ebp + 0x20]
mov edi, dword [ebp + 0x1c]
je 0x45c506
mov ebx, dword [esp + 0x64]
cmp esi, 4
jl 0x45c4e8
lea ecx, [esi*4 - 8]
push ecx
lea edx, [ebx + 8]
push edx
lea eax, [edi + 8]
push eax
call fcn.00462470
add esp, 0xc
cmp dword [esp + 0xd0], esi
jle 0x45c4fc
mov dword [esp + 0x90], 1
push ebx
call dword [0x49d2d4]
add esp, 4
cmp dword [esp + 0x90], 0
je 0x45c514
xor eax, eax
jmp 0x45c520
mov eax, dword [esp + 0xd0]
cdq
sub eax, edx
sar eax, 1
cmp esi, 2
jge 0x45c529
xor eax, eax
jmp 0x45c547
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xc0]
sub edx, ecx
mov dword [edi], edx
mov edx, dword [esp + 0xc4]
sub edx, ecx
mov dword [edi + 4], edx
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x45c56b
test byte [ecx], 0x20
je 0x45c56b
mov ecx, dword [ecx + 0x18]
mov edx, dword [esp + 0xec]
mov dword [ecx], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xfffffffe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret