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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
lea eax, [esp + 0x10]
push ebx
push esi
push edi
push 4
push 0
push eax
mov edi, ecx
call fcn.181237a0
mov esi, dword [ebp + 0xc]
add esp, 0xc
jmp 0x1805b5eb
push ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x2c]
call fcn.1804c382
mov ebx, eax
pop ecx
test ebx, ebx
je 0x1805b61e
mov edx, dword [esp + 0x28]
mov ecx, edx
shr ecx, 3
dec ecx
cmp ecx, 0x1e
ja case.0x1805a87d.4
jmp dword [ecx*4 + 0x1805b623]
cmp dl, 0xa
jne case.0x1805a87d.4
or dword [edi + 8], 1
lea eax, [edi + 0xa8]
mov ecx, dword [eax]
mov edx, 0x1819c8c0
cmp ecx, edx
jne 0x1805a8b0
push edx
mov ecx, eax
call fcn.1804c0cb
mov ecx, dword [edi + 0xa8]
push esi
mov edx, ebx
call fcn.180b8480
jmp 0x1805b5e3
cmp dl, 0x12
jne case.0x1805a87d.4
or dword [edi + 8], 2
lea eax, [edi + 0xac]
mov ecx, dword [eax]
mov edx, 0x1819c8c0
cmp ecx, edx
jne 0x1805a8b0
push edx
mov ecx, eax
call fcn.1804c0cb
mov ecx, dword [edi + 0xac]
jmp 0x1805a8b0
cmp dl, 0x1a
jne case.0x1805a87d.4
or dword [edi + 8], 4
lea eax, [edi + 0xb0]
mov ecx, dword [eax]
mov edx, 0x1819c8c0
cmp ecx, edx
jne 0x1805a8b0
push edx
mov ecx, eax
call fcn.1804c0cb
mov ecx, dword [edi + 0xb0]
jmp 0x1805a8b0
cmp dl, 0x2a
jne case.0x1805a87d.4
or dword [edi + 8], 8
lea eax, [edi + 0xb4]
mov ecx, dword [eax]
mov edx, 0x1819c8c0
cmp ecx, edx
jne 0x1805a8b0
push edx
mov ecx, eax
call fcn.1804c0cb
mov ecx, dword [edi + 0xb4]
jmp 0x1805a8b0
cmp dl, 0x32
jne case.0x1805a87d.4
lea eax, [ebx - 1]
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x1805a984
mov ecx, dword [edi + 0x14]
mov edx, dword [eax]
cmp ecx, edx
jge 0x1805a97f
mov eax, dword [eax + ecx*4 + 4]
mov dword [esp + 0x24], eax
lea eax, [ecx + 1]
mov dword [edi + 0x14], eax
jmp 0x1805a9b1
cmp edx, dword [edi + 0x18]
jne 0x1805a994
mov eax, dword [edi + 0x18]
lea ecx, [edi + 0x10]
inc eax
push eax
call fcn.180af8a6
mov eax, dword [edi + 0x1c]
inc dword [eax]
mov ecx, dword [edi + 0x10]
call fcn.18074889
mov ecx, dword [edi + 0x14]
mov edx, eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x24], edx
mov dword [eax + ecx*4 + 4], edx
inc dword [edi + 0x14]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
call fcn.1804c3d9
cmp dword [esp + 0x20], 0
je 0x1805b61e
push eax
push dword [esp + 0x24]
mov ecx, esi
call fcn.1804c291
sub dword [esi + 0x44], 1
mov dword [esp + 0x2c], eax
js 0x1805b61e
mov ecx, dword [esp + 0x24]
push esi
push dword [esp + 0x24]
call fcn.180551ae
mov dword [esp + 0x24], eax
test eax, eax
je 0x1805b61e
push dword [esp + 0x2c]
inc dword [esi + 0x44]
mov ecx, esi
call fcn.1804c2b9
test al, al
je 0x1805b61e
mov eax, dword [esp + 0x24]
mov dword [ebp + 8], eax
cmp eax, dword [esi]
jae 0x1805b5eb
cmp byte [eax], 0x32
je 0x1805a95a
jmp 0x1805b5eb
cmp dl, 0x42
jne case.0x1805a87d.4
lea eax, [ebx - 1]
inc eax
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x1805aa6a
mov ecx, dword [edi + 0x24]
mov edx, dword [eax]
cmp ecx, edx
jge 0x1805aa65
mov eax, dword [eax + ecx*4 + 4]
mov dword [esp + 0x24], eax
lea eax, [ecx + 1]
mov dword [edi + 0x24], eax
jmp 0x1805aa97
cmp edx, dword [edi + 0x28]
jne 0x1805aa7a
mov eax, dword [edi + 0x28]
lea ecx, [edi + 0x20]
inc eax
push eax
call fcn.180af8a6
mov eax, dword [edi + 0x2c]
inc dword [eax]
mov ecx, dword [edi + 0x20]
call fcn.180748b8
mov ecx, dword [edi + 0x24]
mov edx, eax
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x24], edx
mov dword [eax + ecx*4 + 4], edx
inc dword [edi + 0x24]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
call fcn.1804c3d9
cmp dword [esp + 0x20], 0
je 0x1805b61e
push eax
push dword [esp + 0x24]
mov ecx, esi
call fcn.1804c291
sub dword [esi + 0x44], 1
mov dword [esp + 0x2c], eax
js 0x1805b61e
mov ecx, dword [esp + 0x24]
push esi
push dword [esp + 0x24]
call fcn.1805563f
mov dword [esp + 0x24], eax
test eax, eax
je 0x1805b61e
push dword [esp + 0x2c]
inc dword [esi + 0x44]
mov ecx, esi
call fcn.1804c2b9
test al, al
je 0x1805b61e
mov eax, dword [esp + 0x24]
mov dword [ebp + 8], eax
cmp eax, dword [esi]
jae 0x1805b5eb
cmp byte [eax], 0x42
je 0x1805aa40
jmp 0x1805b5eb
cmp dl, 0x4a
jne case.0x1805a87d.4
lea eax, [ebx - 1]
inc eax
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x1805ab50
mov ecx, dword [edi + 0x34]
mov edx, dword [eax]
cmp ecx, edx
jge 0x1805ab4b
mov eax, dword [eax + ecx*4 + 4]
mov dword [esp + 0x24], eax
lea eax, [ecx + 1]
mov dword [edi + 0x34], eax
jmp 0x1805ab7d
cmp edx, dword [edi + 0x38]
jne 0x1805ab60
mov eax, dword [edi + 0x38]
lea ecx, [edi + 0x30]
inc eax
push eax
call fcn.180af8a6
mov eax, dword [edi + 0x3c]
inc dword [eax]
mov ecx, dword [edi + 0x30]
call fcn.18074916
mov ecx, dword [edi + 0x34]
mov edx, eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x24], edx
mov dword [eax + ecx*4 + 4], edx
inc dword [edi + 0x34]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
call fcn.1804c3d9
cmp dword [esp + 0x20], 0
je 0x1805b61e
push eax
push dword [esp + 0x24]
mov ecx, esi
call fcn.1804c291
sub dword [esi + 0x44], 1
mov dword [esp + 0x2c], eax
js 0x1805b61e
mov ecx, dword [esp + 0x24]
push esi
push dword [esp + 0x24]
call fcn.180560e8
mov dword [esp + 0x24], eax
test eax, eax
je 0x1805b61e
push dword [esp + 0x2c]
inc dword [esi + 0x44]
mov ecx, esi
call fcn.1804c2b9
test al, al
je 0x1805b61e
mov eax, dword [esp + 0x24]
mov dword [ebp + 8], eax
cmp eax, dword [esi]
jae 0x1805b5eb
cmp byte [eax], 0x4a
je 0x1805ab26
jmp 0x1805b5eb
cmp dl, 0x52
jne case.0x1805a87d.4
dec ebx
lea eax, [edi + 0x40]
mov ecx, eax
call fcn.18075c84
lea ecx, [ebx + 1]
push ecx
push eax
mov ecx, esi
call fcn.18075fde
mov ebx, eax
mov dword [ebp + 8], ebx
test ebx, ebx
je 0x1805b61e
cmp ebx, dword [esi]
jae 0x1805b5eb
cmp byte [ebx], 0x52
lea eax, [edi + 0x40]
je 0x1805ac0d
jmp 0x1805b5eb
cmp dl, 0x5a
jne case.0x1805a87d.4
lea eax, [ebx - 1]
inc eax
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x1805ac78
mov ecx, dword [edi + 0x54]
mov edx, dword [eax]
cmp ecx, edx
jge 0x1805ac73
mov eax, dword [eax + ecx*4 + 4]
mov dword [esp + 0x24], eax
lea eax, [ecx + 1]
mov dword [edi + 0x54], eax
jmp 0x1805aca5
cmp edx, dword [edi + 0x58]
jne 0x1805ac88
mov eax, dword [edi + 0x58]
lea ecx, [edi + 0x50]
inc eax
push eax
call fcn.180af8a6
mov eax, dword [edi + 0x5c]
inc dword [eax]
mov ecx, dword [edi + 0x50]
call fcn.180748e7
mov ecx, dword [edi + 0x54]
mov edx, eax
mov eax, dword [edi + 0x5c]
mov dword [esp + 0x24], edx
mov dword [eax + ecx*4 + 4], edx
inc dword [edi + 0x54]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
call fcn.1804c3d9
cmp dword [esp + 0x20], 0
je 0x1805b61e
push eax
push dword [esp + 0x24]
mov ecx, esi
call fcn.1804c291
sub dword [esi + 0x44], 1
mov dword [esp + 0x2c], eax
js 0x1805b61e
mov ecx, dword [esp + 0x24]
push esi
push dword [esp + 0x24]
call fcn.18055bc0
mov dword [esp + 0x24], eax
test eax, eax
je 0x1805b61e
push dword [esp + 0x2c]
inc dword [esi + 0x44]
mov ecx, esi
call fcn.1804c2b9
test al, al
je 0x1805b61e
mov eax, dword [esp + 0x24]
mov dword [ebp + 8], eax
cmp eax, dword [esi]
jae 0x1805b5eb
cmp byte [eax], 0x5a
je 0x1805ac4e
jmp 0x1805b5eb
cmp dl, 0x60
jne 0x1805ad6e
dec ebx
lea ecx, [ebx + 1]
lea edx, [esp + 0x58]
call fcn.18075bd3
mov ebx, eax
lea ecx, [edi + 0x60]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
mov dword [ebp + 8], ebx
call fcn.180afbac
test ebx, ebx
je 0x1805b61e
cmp ebx, dword [esi]
jae 0x1805b5eb
cmp byte [ebx], 0x60
je 0x1805ad2e
jmp 0x1805b5eb
cmp dl, 0x62
jne case.0x1805a87d.4
lea eax, [edi + 0x60]
mov ecx, esi
push eax
push ebx
call fcn.180b891d
jmp 0x1805b5e4
cmp dl, 0x70
jne case.0x1805a87d.4
or dword [esp + 0x1c], 0x2000
lea edx, [esp + 0x30]
mov ecx, ebx
call fcn.18075bd3
mov ecx, dword [esp + 0x30]
mov dword [edi + 0xe0], ecx
mov ecx, dword [esp + 0x34]
mov dword [edi + 0xe4], ecx
jmp 0x1805b5e4
cmp dl, 0x78
jne 0x1805ae0b
dec ebx
lea ecx, [ebx + 1]
lea edx, [esp + 0x38]
call fcn.18075bd3
mov ebx, eax
lea ecx, [edi + 0x6c]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x40]
push eax
mov dword [ebp + 8], ebx
call fcn.180afe8e
test ebx, ebx
je 0x1805b61e
cmp ebx, dword [esi]
jae 0x1805b5eb
cmp byte [ebx], 0x78
je 0x1805adc3
jmp 0x1805b5eb
cmp dl, 0x7a
jne case.0x1805a87d.4
lea eax, [edi + 0x6c]
mov ecx, esi
push eax
push ebx
call fcn.180b8994
jmp 0x1805b5e4
cmp dl, 0x82
jne case.0x1805a87d.4
lea eax, [ebx - 2]
add eax, 2
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x84]
test eax, eax
je 0x1805ae63
mov ecx, dword [edi + 0x7c]
mov edx, dword [eax]
cmp ecx, edx
jge 0x1805ae5b
mov eax, dword [eax + ecx*4 + 4]
mov dword [esp + 0x24], eax
lea eax, [ecx + 1]
mov dword [edi + 0x7c], eax
jmp 0x1805ae99
cmp edx, dword [edi + 0x80]
jne 0x1805ae79
mov eax, dword [edi + 0x80]
lea ecx, [edi + 0x78]
inc eax
push eax
call fcn.180af8a6
mov eax, dword [edi + 0x84]
inc dword [eax]
mov ecx, dword [edi + 0x78]
call fcn.180749ca
mov ecx, dword [edi + 0x7c]
mov edx, eax
mov eax, dword [edi + 0x84]
mov dword [esp + 0x24], edx
mov dword [eax + ecx*4 + 4], edx
inc dword [edi + 0x7c]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
call fcn.1804c3d9
cmp dword [esp + 0x20], 0
je 0x1805b61e
push eax
push dword [esp + 0x24]
mov ecx, esi
call fcn.1804c291
sub dword [esi + 0x44], 1
mov dword [esp + 0x2c], eax
js 0x1805b61e
mov ecx, dword [esp + 0x24]
push esi
push dword [esp + 0x24]
call fcn.18056dcc
mov dword [esp + 0x24], eax
test eax, eax
je 0x1805b61e
push dword [esp + 0x2c]
inc dword [esi + 0x44]
mov ecx, esi
call fcn.1804c2b9
test al, al
je 0x1805b61e
mov eax, dword [esp + 0x24]
mov dword [ebp + 8], eax
cmp eax, dword [esi]
jae 0x1805b5eb
push 2
lea ecx, [esp + 0x14]
mov word [esp + 0x14], 0x182
push ecx
push eax
call fcn.181245ea
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x24]
je 0x1805ae31
jmp 0x1805b5eb
cmp dl, 0x8a
jne case.0x1805a87d.4
or dword [edi + 8], 0x10
mov eax, dword [edi + 0xb8]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x1805af62
xor ecx, ecx
call fcn.18074c28
mov dword [edi + 0xb8], eax
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebx
call fcn.1804c3d9
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x1805b61e
push eax
push ebx
mov ecx, esi
call fcn.1804c291
sub dword [esi + 0x44], 1
mov dword [esp + 0x2c], eax
js 0x1805b61e
mov ecx, dword [esp + 0x20]
push esi
push ebx
call fcn.1805cad7
jmp 0x1805b39b
cmp dl, 0x92
jne case.0x1805a87d.4
or dword [edi + 8], 0x20
mov eax, dword [edi + 0xbc]
test eax, eax
jne 0x1805afc6
xor ecx, ecx
call fcn.18074c55
mov dword [edi + 0xbc], eax
push ebx
push eax
mov ecx, esi
call fcn.18076032
jmp 0x1805b5e4
cmp dl, 0x98
jne case.0x1805a87d.4
or dword [esp + 0x1c], 0x4000
lea edx, [esp + 0x60]
mov ecx, ebx
call fcn.18075bd3
mov ecx, dword [esp + 0x60]
mov dword [edi + 0xe8], ecx
jmp 0x1805b5e4
cmp dl, 0xaa
jne case.0x1805a87d.4
or dword [edi + 8], 0x40
mov eax, dword [edi + 0xc0]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x1805b02b
xor ecx, ecx
call fcn.18075825
mov dword [edi + 0xc0], eax
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebx
call fcn.1804c3d9
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x1805b61e
push eax
push ebx
mov ecx, esi
call fcn.1804c291
sub dword [esi + 0x44], 1
mov dword [esp + 0x2c], eax
js 0x1805b61e
mov ecx, dword [esp + 0x20]
push esi
push ebx
call fcn.1806c037
jmp 0x1805b39b
cmp dl, 0xb0
jne case.0x1805a87d.4
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.18075bd3
mov dword [ebp + 8], eax
test eax, eax
je 0x1805b61e
mov ebx, dword [esp + 0x48]
cmp ebx, 4
ja 0x1805b0a5
or dword [edi + 8], 0x8000
mov dword [edi + 0xec], ebx
jmp 0x1805b5eb
lea ecx, [edi + 4]
test byte [ecx], 1
je 0x1805b0b7
mov eax, dword [ecx]
and eax, 0xfffffffe
add eax, 4
jmp 0x1805b0bc
call fcn.180762d5
push dword [esp + 0x4c]
mov ecx, eax
push ebx
push 0x16
call fcn.180b7618
jmp 0x1805b5eb
cmp dl, 0xba
jne case.0x1805a87d.4
or dword [edi + 8], 0x80
mov eax, dword [edi + 0xc4]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x1805b0fe
xor ecx, ecx
call fcn.18075852
mov dword [edi + 0xc4], eax
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebx
call fcn.1804c3d9
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x1805b61e
push eax
push ebx
mov ecx, esi
call fcn.1804c291
sub dword [esi + 0x44], 1
mov dword [esp + 0x2c], eax
js 0x1805b61e
mov ecx, dword [esp + 0x20]
push esi
push ebx
call fcn.1806c61d
jmp 0x1805b39b
cmp dl, 0xc0
jne case.0x1805a87d.4
or dword [esp + 0x1c], 0x10000
lea edx, [esp + 0x50]
mov ecx, ebx
call fcn.18075bd3
mov ecx, dword [esp + 0x50]
or ecx, dword [esp + 0x54]
mov dword [ebp + 8], eax
je 0x1805b16b
mov cl, 1
jmp 0x1805b16d
xor cl, cl
mov byte [edi + 0xf0], cl
jmp 0x1805b5e7
cmp dl, 0xca
jne case.0x1805a87d.4
or dword [edi + 8], 0x100
mov eax, dword [edi + 0xc8]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x1805b1a7
xor ecx, ecx
call fcn.18074a7e
mov dword [edi + 0xc8], eax
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebx
call fcn.1804c3d9
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x1805b61e
push eax
push ebx
mov ecx, esi
call fcn.1804c291
sub dword [esi + 0x44], 1
mov dword [esp + 0x2c], eax
js 0x1805b61e
mov ecx, dword [esp + 0x20]
push esi
push ebx
call fcn.18058196
jmp 0x1805b39b
cmp dl, 0xd2
jne case.0x1805a87d.4
or dword [edi + 8], 0x200
mov eax, dword [edi + 0xcc]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x1805b216
xor ecx, ecx
call fcn.18074b07
mov dword [edi + 0xcc], eax
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebx
call fcn.1804c3d9
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x1805b61e
push eax
push ebx
mov ecx, esi
call fcn.1804c291
sub dword [esi + 0x44], 1
mov dword [esp + 0x2c], eax
js 0x1805b61e
mov ecx, dword [esp + 0x20]
push esi
push ebx
call fcn.18059144
jmp 0x1805b39b
cmp dl, 0xda
jne case.0x1805a87d.4
or dword [edi + 8], 0x400
mov eax, dword [edi + 0xd0]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x1805b285
xor ecx, ecx
call fcn.18074b92
mov dword [edi + 0xd0], eax
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebx
call fcn.1804c3d9
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x1805b61e
push eax
push ebx
mov ecx, esi
call fcn.1804c291
sub dword [esi + 0x44], 1
mov dword [esp + 0x2c], eax
js 0x1805b61e
mov ecx, dword [esp + 0x20]
push esi
push ebx
call fcn.18059ea4
jmp 0x1805b39b
cmp dl, 0xe2
jne case.0x1805a87d.4
or dword [edi + 8], 0x800
mov eax, dword [edi + 0xd4]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x1805b2f4
xor ecx, ecx
call fcn.18074bbf
mov dword [edi + 0xd4], eax
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebx
call fcn.1804c3d9
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x1805b61e
push eax
push ebx
mov ecx, esi
call fcn.1804c291
sub dword [esi + 0x44], 1
mov dword [esp + 0x2c], eax
js 0x1805b61e
mov ecx, dword [esp + 0x20]
push esi
push ebx
call fcn.1805097f
jmp 0x1805b39b
cmp dl, 0xea
jne case.0x1805a87d.4
or dword [edi + 8], 0x1000
mov eax, dword [edi + 0xd8]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x1805b360
xor ecx, ecx
call fcn.180749f7
mov dword [edi + 0xd8], eax
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebx
call fcn.1804c3d9
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x1805b61e
push eax
push ebx
mov ecx, esi
call fcn.1804c291
sub dword [esi + 0x44], 1
mov dword [esp + 0x2c], eax
js 0x1805b61e
mov ecx, dword [esp + 0x20]
push esi
push ebx
call fcn.18054dd2
mov ebx, eax
test ebx, ebx
je 0x1805b61e
push dword [esp + 0x2c]
inc dword [esi + 0x44]
mov ecx, esi
call fcn.1804c2b9
test al, al
je 0x1805b61e
mov dword [ebp + 8], ebx
jmp 0x1805b5eb
cmp dl, 0xf2
jne case.0x1805a87d.4
lea eax, [ebx - 2]
lea ebx, [edi + 0x88]
add eax, 2
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x1805b401
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
cmp ecx, edx
jge 0x1805b3fc
mov eax, dword [eax + ecx*4 + 4]
mov dword [esp + 0x24], eax
lea eax, [ecx + 1]
mov dword [ebx + 4], eax
jmp 0x1805b42c
cmp edx, dword [ebx + 8]
jne 0x1805b410
mov eax, dword [ebx + 8]
mov ecx, ebx
inc eax
push eax
call fcn.180af8a6
mov eax, dword [ebx + 0xc]
inc dword [eax]
mov ecx, dword [ebx]
call fcn.18074970
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x24], edx
mov dword [eax + ecx*4 + 4], edx
inc dword [ebx + 4]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
call fcn.1804c3d9
cmp dword [esp + 0x20], 0
je 0x1805b61e
push eax
push dword [esp + 0x24]
mov ecx, esi
call fcn.1804c291
sub dword [esi + 0x44], 1
mov dword [esp + 0x2c], eax
js 0x1805b61e
mov ecx, dword [esp + 0x24]
push esi
push dword [esp + 0x24]
call fcn.180568f5
mov dword [esp + 0x24], eax
test eax, eax
je 0x1805b61e
push dword [esp + 0x2c]
inc dword [esi + 0x44]
mov ecx, esi
call fcn.1804c2b9
test al, al
je 0x1805b61e
mov eax, dword [esp + 0x24]
mov dword [ebp + 8], eax
cmp eax, dword [esi]
jae 0x1805b5eb
push 2
lea ecx, [esp + 0x18]
mov word [esp + 0x18], 0x1f2
push ecx
push eax
call fcn.181245ea
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x24]
je 0x1805b3d5
jmp 0x1805b5eb
cmp dl, 0xfa
jne case.0x1805a87d.4
lea eax, [ebx - 2]
lea ebx, [edi + 0x98]
add eax, 2
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x1805b507
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
cmp ecx, edx
jge 0x1805b502
mov eax, dword [eax + ecx*4 + 4]
mov dword [esp + 0x24], eax
lea eax, [ecx + 1]
mov dword [ebx + 4], eax
jmp 0x1805b532
cmp edx, dword [ebx + 8]
jne 0x1805b516
mov eax, dword [ebx + 8]
mov ecx, ebx
inc eax
push eax
call fcn.180af8a6
mov eax, dword [ebx + 0xc]
inc dword [eax]
mov ecx, dword [ebx]
call fcn.1807499d
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x24], edx
mov dword [eax + ecx*4 + 4], edx
inc dword [ebx + 4]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
call fcn.1804c3d9
cmp dword [esp + 0x20], 0
je 0x1805b61e
push eax
push dword [esp + 0x24]
mov ecx, esi
call fcn.1804c291
sub dword [esi + 0x44], 1
mov dword [esp + 0x2c], eax
js 0x1805b61e
mov ecx, dword [esp + 0x24]
push esi
push dword [esp + 0x24]
call fcn.18054dd2
mov dword [esp + 0x24], eax
test eax, eax
je 0x1805b61e
push dword [esp + 0x2c]
inc dword [esi + 0x44]
mov ecx, esi
call fcn.1804c2b9
test al, al
je 0x1805b61e
mov eax, dword [esp + 0x24]
mov dword [ebp + 8], eax
cmp eax, dword [esi]
jae 0x1805b5eb
push 2
lea ecx, [esp + 0x1c]
mov word [esp + 0x1c], 0x1fa
push ecx
push eax
call fcn.181245ea
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x24]
je 0x1805b4db
jmp 0x1805b5eb
mov eax, edx
and al, 7
cmp al, 4
je 0x1805b616
test edx, edx
je 0x1805b616
mov ecx, dword [esp + 0x28]
lea edx, [edi + 4]
push esi
push ebx
call fcn.180b78f8
pop ecx
pop ecx
mov dword [ebp + 8], eax
test eax, eax
je 0x1805b61e
push dword [esi + 0x48]
lea eax, [ebp + 8]
mov ecx, esi
push eax
call fcn.1804c2e0
test al, al
je 0x1805a852
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x1c]
or dword [edi + 8], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [edx - 1]
mov dword [esi + 0x3c], eax
jmp 0x1805b604
xor ebx, ebx
jmp 0x1805b604