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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x6b0]
xor esi, esi
cmp eax, esi
jne 0x301081d2
mov eax, dword [edi + 0xbac]
cmp eax, esi
je 0x30107e4a
mov ecx, dword [edi + 0x7a4]
cmp ecx, esi
je 0x30107e4a
cmp dword [eax + 0x14], esi
jne 0x30107e4a
cmp dword [ecx + 0x14], esi
je 0x30107e4a
call fcn.30054dd0
test eax, eax
jne 0x30107e4a
lea ecx, [edi + 0x28]
call fcn.30098920
test eax, eax
jne 0x30107e4a
lea ecx, [edi + 0x7b4]
call fcn.30156d90
cmp eax, 0x800
jne 0x30107d5a
mov eax, dword [ebp + 0x14]
cmp eax, esi
je 0x30107d3f
mov esi, eax
lea eax, [ebp + 0x24]
push eax
mov ecx, edi
call fcn.30011610
dec esi
jne 0x30107d31
mov eax, 2
push eax
mov ecx, edi
call fcn.30013cb0
xor eax, eax
lea esp, [ebp - 0x80]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [ebp + 0x1c]
cmp ecx, esi
mov dword [ebp - 0x2c], esi
je 0x30107d6c
call fcn.300ebeb0
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 8]
cmp ecx, esi
mov dword [ebp + 0x24], esi
je 0x30107d7e
call fcn.300ebeb0
mov dword [ebp + 0x24], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp eax, esi
je 0x30107d94
mov ecx, dword [eax + 0xc0]
call fcn.300ebeb0
mov ebx, eax
mov ecx, dword [0x303f9cd4]
push 0x44
call fcn.300033c0
cmp eax, esi
je 0x30107db4
mov edx, dword [edi + 0x20]
push edx
mov ecx, eax
call fcn.300f95e0
mov esi, eax
jmp 0x30107db6
xor esi, esi
mov ecx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x14]
test eax, eax
mov dword [esi + 0x24], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x28], ebx
mov edx, dword [ebp + 0x10]
mov dword [esi + 0x2c], edx
mov edx, dword [ebp - 0x2c]
mov dword [esi + 0x34], ecx
mov ecx, dword [ebp + 0x20]
mov dword [esi + 0x30], eax
mov dword [esi + 0x3c], edx
mov dword [esi + 0x40], ecx
jne 0x30107de6
mov dword [esi + 0x38], eax
jmp 0x30107df1
push eax
mov ecx, edi
call fcn.300f9270
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 0x14]
xor ebx, ebx
test eax, eax
mov dword [ebp - 0x28], 2
jle 0x30107e23
lea edx, [ebp - 0x28]
push edx
mov ecx, edi
call fcn.30011610
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ecx + ebx*4]
call fcn.300ba520
mov eax, dword [ebp + 0x14]
inc ebx
cmp ebx, eax
jl 0x30107e01
push esi
lea ecx, [edi + 0x7b4]
call fcn.300e81a0
mov eax, 2
push eax
mov ecx, edi
call fcn.30013cb0
xor eax, eax
lea esp, [ebp - 0x80]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov edx, dword [edi + 0xbfc]
mov ebx, 2
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
movzx eax, byte [edx + 0x21d]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
cmp eax, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], esi
je 0x30107e97
push eax
lea ecx, [ebp - 4]
call fcn.300ba270
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 8]
call fcn.300ba270
mov esi, 1
jmp 0x30107fc3
lea ecx, [ebp + 0x10]
call fcn.300ba370
test al, al
jne 0x30107ebc
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 4]
call fcn.300ba270
mov dword [ebp - 8], ebx
mov esi, 1
jmp 0x30107fc3
mov eax, dword [ebp + 8]
cmp eax, esi
lea ecx, [ebp - 8]
je 0x30107fa9
mov esi, eax
push esi
call fcn.300ba270
push 0
push edi
lea ecx, [ebp - 0x3c]
call fcn.300c2a20
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x20]
xor ebx, ebx
test eax, eax
setne bl
push ecx
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x28]
dec ebx
and ebx, eax
push ebx
push edx
lea eax, [ebp - 4]
push eax
push ecx
push esi
mov ecx, edi
call fcn.30018810
lea ecx, [ebp - 0x3c]
mov esi, eax
call fcn.300c2a40
test esi, esi
jne 0x30107fc3
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x34]
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x30107f89
push esi
push edi
lea ecx, [ebp - 0x34]
call fcn.300c2a20
push edi
lea ecx, [ebp - 0x3c]
call fcn.300c2a80
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x10]
push ebx
push edx
mov edx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push ecx
push edx
mov ecx, edi
call fcn.30018810
mov esi, eax
test esi, esi
je 0x30107f75
lea ecx, [ebp - 4]
call fcn.300046a0
cmp eax, 6
jne 0x30107f75
lea ecx, [ebp - 4]
call fcn.30007f30
mov eax, dword [eax + 0x34]
mov esi, dword [eax + 0x44]
lea ecx, [ebp - 0x3c]
call fcn.300c2aa0
lea ecx, [ebp - 0x34]
call fcn.300c2a40
test esi, esi
jne 0x30107fc3
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x10]
push ebx
push edx
mov edx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push ecx
push edx
mov ecx, edi
call fcn.30018810
xor esi, esi
jmp 0x30107fc3
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 4]
push edx
push eax
push ecx
mov ecx, edi
call fcn.30107ab0
mov esi, eax
mov eax, dword [edi + 0xbe0]
cmp dword [edi + 0x548], eax
jge 0x30107fd9
cmp dword [edi + 0x734], eax
jl 0x30108006
mov eax, dword [edi + 0x794]
test eax, eax
jne 0x30107fec
mov ecx, edi
call fcn.30006750
jmp 0x30107ffa
push 0
push 0
push 1
lea ecx, [edi + 0x28]
call fcn.30099fa0
mov dword [edi + 0x6b0], 1
xor esi, esi
mov eax, dword [edi + 0x6b0]
test eax, eax
jne 0x30108a89
test esi, esi
je 0x30108a89
mov ecx, dword [ebp - 4]
mov esi, ecx
and esi, 7
mov eax, esi
cmp eax, 7
mov edx, ecx
jne 0x30108037
and edx, 0xfffffff8
mov edx, dword [edx + 0xc]
mov eax, edx
and eax, esi
cmp eax, 2
jne 0x30108041
and edx, 0x1f
mov eax, edx
cmp eax, 6
jne 0x30108a89
cmp esi, 7
jne 0x30108055
and ecx, 0xfffffff8
mov ecx, dword [ecx + 0xc]
and ecx, 0xfffffff8
mov esi, ecx
mov eax, dword [esi + 0x34]
push eax
push edi
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x30], esi
call fcn.300c4770
mov ecx, esi
mov byte [ebp + 0x23], 0
call fcn.300e96e0
test eax, eax
je 0x301080f4
mov ecx, esi
mov dword [ebp - 0x14], 2
call fcn.300e96e0
mov ebx, eax
mov ecx, ebx
call fcn.300e96e0
test eax, eax
jne 0x3010809d
mov ecx, ebx
call fcn.300eb560
mov ebx, eax
test ebx, ebx
je 0x301080ed
mov ecx, dword [ebp - 0x10]
mov eax, dword [edi + 0xc94]
push ecx
push 0
push 0
lea edx, [ebp - 0x14]
push edx
push eax
push ebx
mov ecx, edi
call fcn.30018810
test eax, eax
je 0x301080ed
lea ecx, [ebp - 0x14]
call fcn.300046a0
cmp eax, 6
jne 0x301080ed
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 4]
mov dword [ebp + 8], esi
mov byte [ebp + 0x23], 1
mov dword [ebp - 4], edx
call fcn.30007f30
mov esi, eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x301081a6
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x3010810f
push edi
lea ecx, [ebp - 8]
call fcn.300ba310
mov eax, dword [ebp - 8]
push eax
mov ecx, edi
call fcn.30105020
mov ebx, eax
test ebx, ebx
je 0x301081a6
mov ecx, dword [edi + 0xc78]
push ecx
mov ecx, esi
call fcn.300eb410
test eax, eax
je 0x30108142
mov eax, dword [eax]
push 0
push eax
mov ecx, ebx
call fcn.300f0520
mov edx, dword [edi + 0xbfc]
mov al, byte [edx + 0x21d]
test al, al
jne 0x30108169
mov eax, dword [ebp - 4]
mov ecx, dword [edi + 0xc88]
push 0x101
push eax
push ecx
mov ecx, ebx
call fcn.300edb30
mov edx, dword [ebp - 4]
mov eax, dword [edi + 0xc94]
push 0x81
push edx
push eax
mov ecx, ebx
call fcn.300edb30
mov al, byte [ebp + 0x24]
test al, al
mov dword [ebp + 8], ebx
je 0x30108198
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x301081a6
mov ecx, eax
call fcn.300e7f30
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x301081a6
mov ecx, eax
call fcn.300ef360
mov eax, dword [edi + 0x674]
mov ebx, dword [ebp + 0x14]
cmp ebx, eax
jbe 0x301081b8
mov ebx, eax
mov dword [ebp + 0x14], ebx
lea eax, [ebx*4]
cmp eax, ebx
jae 0x301081e0
lea ecx, [ebp - 0x50]
mov byte [edi + 0xbf9], 1
call fcn.300c3150
xor eax, eax
lea esp, [ebp - 0x80]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [esi + 0x54]
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
mov dword [ebp + 0x24], ecx
je 0x301082df
mov cl, byte [ebp + 0x23]
test cl, cl
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x5c], 2
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x68], ebx
jne 0x30108219
mov ecx, dword [ebp + 0x18]
test ecx, ecx
mov dword [ebp - 0x60], 0
je 0x30108220
mov dword [ebp - 0x60], 1
mov ecx, dword [ebp - 8]
add eax, 3
and eax, 0xfffffffc
mov dword [ebp - 0x58], ecx
call fcn.3028d660
mov eax, dword [ebp + 8]
test eax, eax
mov dword [ebp - 0x64], esp
je 0x3010826d
mov ecx, eax
call fcn.300e96e0
test eax, eax
je 0x3010826d
mov ecx, dword [ebp + 8]
mov ebx, ecx
call fcn.300e96e0
test eax, eax
je 0x30108261
mov ecx, eax
mov ebx, eax
call fcn.300e96e0
test eax, eax
jne 0x30108254
push ebx
lea ecx, [ebp - 0x58]
call fcn.300ba270
mov ebx, dword [ebp + 0x14]
test ebx, ebx
mov edx, dword [esi + 0x54]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x54], eax
je 0x30108296
mov ebx, dword [ebp + 0x14]
xor esi, esi
mov dword [ebp + 0x14], esi
mov ecx, dword [ebp - 0x64]
lea edx, [esi + ecx]
push edx
mov ecx, edi
call fcn.30011610
add esi, 4
dec ebx
jne 0x30108282
mov eax, dword [edi + 0x734]
inc eax
push eax
mov ecx, edi
call fcn.300f9540
lea ecx, [ebp - 0x70]
push ecx
call dword [ebp + 0x24]
mov edx, dword [edi + 0x734]
add esp, 4
dec edx
push edx
mov ecx, edi
call fcn.300f9540
mov eax, dword [ebp - 0x60]
test eax, eax
mov eax, dword [ebp - 0x58]
jne 0x301082cb
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, edi
call fcn.30013cb0
mov dword [ebp - 0x24], 1
jmp 0x30108a81
mov ecx, esi
call fcn.3001a160
test eax, eax
je 0x30108a81
mov ecx, esi
call fcn.3001a160
mov ebx, eax
mov eax, dword [edi + 0x20]
push 0
push eax
push 0x10
mov dword [ebp - 0x2c], ebx
call fcn.30208150
add esp, 0xc
test eax, eax
je 0x3010831a
mov ecx, eax
call fcn.300bc330
mov dword [ebp - 0x1c], eax
jmp 0x30108321
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp + 0x14]
xor eax, eax
test ecx, ecx
mov dword [ebp + 0x24], eax
je 0x3010833a
mov eax, ecx
push eax
mov ecx, edi
call fcn.300f9240
mov dword [ebp + 0x24], eax
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x30108a81
test eax, eax
jne 0x30108354
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x30108a81
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xc]
test eax, eax
je 0x3010836f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov ecx, eax
call fcn.30005b60
jmp 0x30108376
mov ecx, edi
call fcn.300f88b0
cmp eax, 6
mov dword [ebp - 0x24], eax
jl 0x30108399
mov ecx, dword [ebx + 0x6c]
test ecx, ecx
je 0x30108391
call fcn.300e95e0
test eax, eax
mov dword [ebp + 0x1c], eax
jne 0x301083d0
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 0x1c], ecx
jmp 0x301083d0
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 8]
mov dword [ebp + 0x1c], esi
call fcn.300046a0
cmp eax, 3
jne 0x301083bd
lea ecx, [ebp - 8]
call fcn.300ba3c0
test eax, eax
je 0x301083bd
mov esi, eax
mov dword [ebp + 0x1c], esi
test esi, esi
jne 0x301083d0
mov ecx, dword [ebx + 0x6c]
test ecx, ecx
je 0x301083d0
call fcn.300e95e0
mov dword [ebp + 0x1c], eax
mov eax, dword [edi + 0x20]
push 0
push eax
push 0x48
call fcn.30208150
add esp, 0xc
test eax, eax
je 0x301083f0
push edi
mov ecx, eax
call fcn.300bca30
mov esi, eax
jmp 0x301083f2
xor esi, esi
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [esi + 0xc]
call fcn.3001a0d0
mov al, byte [ebx + 0x79]
push esi
lea ecx, [edi + 0x144]
mov byte [esi + 0x3c], al
call fcn.300bb1e0
mov ecx, esi
call fcn.300be540
cmp dword [ebp - 0x24], 6
jl 0x3010844b
mov eax, dword [esi + 0x18]
test eax, eax
mov ecx, dword [ebx + 0x6c]
je 0x30108440
push 0
push 0
push ecx
push eax
call fcn.300ebf60
add esp, 0x10
push eax
lea ecx, [esi + 0x28]
call fcn.300d6cf0
jmp 0x301084b8
push ecx
lea ecx, [esi + 0x28]
call fcn.300d6cf0
jmp 0x301084b8
push 0
push 0
push 0
push 1
mov ecx, edi
lea ebx, [esi + 0x28]
call fcn.30101b30
push eax
call fcn.300ebf60
add esp, 0x10
push eax
mov ecx, ebx
call fcn.300d6cf0
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x30108496
mov eax, dword [ebx]
mov edx, dword [ebp + 0x1c]
mov ecx, dword [edx + 0xc0]
push 0
push 0
push eax
push ecx
call fcn.300ebf60
add esp, 0x10
push eax
mov ecx, ebx
call fcn.300d6cf0
mov eax, dword [esi + 0x18]
test eax, eax
je 0x301084b5
mov ecx, dword [ebx]
push 0
push 0
push ecx
push eax
call fcn.300ebf60
add esp, 0x10
push eax
mov ecx, ebx
call fcn.300d6cf0
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x68]
push eax
lea ecx, [esi + 0x1c]
call fcn.3001a0d0
lea ecx, [ebp - 0x74]
call fcn.30004870
mov ecx, dword [ebx + 0x64]
push SysReAllocString
push 0
push ecx
lea ecx, [ebp - 0x74]
call fcn.300dfc60
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x74]
lea ecx, [eax + edx]
xor edx, edx
add eax, 2
mov dword [ebp - 0x70], eax
mov dh, byte [ecx + 1]
mov dword [ebp + 0x20], 0
mov dl, byte [ecx]
mov cl, byte [ebx + 0x78]
test cl, cl
mov byte [ebp + 0xf], cl
mov dword [ebp - 0x20], edx
je 0x30108549
mov ecx, dword [ebp - 0x74]
mov cl, byte [eax + ecx]
inc eax
mov dword [ebp - 0x70], eax
mov byte [esi + 0x3b], cl
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x74]
lea eax, [ecx + edx]
add ecx, 2
mov dword [ebp - 0x70], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
mov al, byte [esi + 0x3b]
test al, al
mov dword [ebp + 0x20], ecx
je 0x30108549
movzx edx, al
push edx
mov ecx, edi
call fcn.300f9240
push eax
mov ecx, esi
call fcn.300fdf30
test byte [ebp + 0x20], 2
mov dword [ebp - 0x18], 2
jne 0x301085b1
mov ebx, dword [ebp + 8]
test ebx, ebx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
je 0x30108596
mov ecx, ebx
call fcn.300e96e0
test eax, eax
je 0x30108596
mov ecx, ebx
call fcn.300e96e0
test eax, eax
je 0x3010858d
lea esp, [esp]
mov ecx, eax
mov ebx, eax
call fcn.300e96e0
test eax, eax
jne 0x30108580
push ebx
lea ecx, [ebp - 0x18]
call fcn.300ba270
test byte [ebp + 0x20], 1
jne 0x301085b1
mov ecx, dword [ebp - 0x18]
mov edx, dword [edi + 0xc7c]
push 3
push ecx
mov ecx, dword [esi + 0x18]
push edx
call fcn.300edb30
lea ecx, [ebp - 4]
call fcn.30007f30
push eax
lea ecx, [esi + 0x20]
call fcn.300d6cf0
mov al, byte [ebp + 0x20]
test al, 8
jne 0x301085e7
test al, 4
jne 0x301085d5
mov ecx, dword [esi + 0x18]
call fcn.300eec60
mov eax, dword [ebp + 0x24]
push eax
lea ecx, [esi + 0x30]
call fcn.3001a0d0
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x34], ecx
mov eax, dword [ebp + 0x14]
test eax, eax
mov dword [ebp - 0x10], 0
jle 0x30108698
mov ebx, dword [ebp + 0x24]
lea esp, [esp]
push ebx
mov ecx, edi
call fcn.30011610
mov edx, dword [ebp - 0x20]
cmp dword [ebp - 0x10], edx
jge 0x30108683
mov al, byte [ebp + 0xf]
test al, al
je 0x30108652
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x74]
mov cl, byte [eax + ecx]
inc eax
test cl, cl
mov byte [ebp + 0x27], cl
mov dword [ebp - 0x70], eax
je 0x30108652
lea ecx, [ebp - 0x74]
call fcn.300e1d80
mov eax, dword [esi + 0x44]
test eax, eax
je 0x30108683
mov dl, byte [ebp + 0x27]
cmp dl, byte [esi + 0x3b]
jae 0x30108683
mov eax, dword [ebx]
movzx ecx, dl
push eax
push ecx
mov ecx, esi
call fcn.3001a100
jmp 0x30108683
lea ecx, [ebp - 0x74]
call fcn.300e1cd0
mov edx, dword [esi + 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
mov ecx, edi
mov dword [ebp + 0x24], edx
call fcn.30101cc0
mov ecx, dword [ebx]
mov edx, dword [eax]
push 0
push ecx
mov ecx, dword [ebp + 0x24]
push edx
call fcn.300edb30
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x14]
inc eax
add ebx, 4
cmp eax, ecx
mov dword [ebp - 0x10], eax
jl 0x30108600
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
mov dword [ebp + 0x14], 0
mov ebx, 2
jge 0x301086f1
mov eax, ecx
sub eax, dword [ebp - 0x10]
mov dword [ebp + 0x24], eax
mov al, byte [ebp + 0xf]
test al, al
je 0x301086ce
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x74]
mov cl, byte [eax + ecx]
inc eax
test cl, cl
mov dword [ebp - 0x70], eax
jne 0x301086e4
lea ecx, [ebp - 0x74]
call fcn.300dfe10
mov ecx, dword [esi + 0x18]
push 0
push ebx
push eax
call fcn.300f0570
jmp 0x301086ec
lea ecx, [ebp - 0x74]
call fcn.300dfe80
dec dword [ebp + 0x24]
jne 0x301086b6
test byte [ebp + 0x20], 0x20
mov dword [ebp - 0xc], 2
jne 0x301087e0
cmp dword [ebp - 0x24], 6
jl 0x301087e0
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x301087e0
push edi
lea ecx, [ebp - 0xc]
call fcn.300ba310
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x301087b2
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, dword [ebp - 0x28]
je 0x30108741
mov ecx, eax
inc ebx
call fcn.300eb560
test eax, eax
jne 0x30108730
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0xc]
call fcn.30007f30
mov ecx, eax
add ecx, 0x10
call fcn.300ba6b0
test ebx, ebx
jle 0x301087c5
mov dword [ebp + 8], ebx
mov edi, edi
push edi
lea ecx, [ebp + 0x24]
mov dword [ebp + 0x24], 2
call fcn.300ba310
mov eax, dword [ebp - 0xc]
mov ecx, eax
and ecx, 7
cmp cl, 7
jne 0x30108783
and eax, 0xfffffff8
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 0x24]
mov edx, ecx
and edx, 7
cmp dl, 7
jne 0x30108796
and ecx, 0xfffffff8
mov ecx, dword [ecx + 0xc]
and eax, 0xfffffff8
and ecx, 0xfffffff8
push eax
add ecx, 0x10
call fcn.300ba6b0
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xc], eax
dec dword [ebp + 8]
jne 0x30108760
jmp 0x301087c5
push ebx
lea ecx, [ebp - 0xc]
call fcn.30007f30
mov ecx, eax
add ecx, 0x10
call fcn.300ba6b0
test byte [ebp + 0x20], 0x10
jne 0x301087e0
mov ecx, dword [ebp - 0xc]
mov edx, dword [edi + 0xc80]
push 3
push ecx
mov ecx, dword [esi + 0x18]
push edx
call fcn.300edb30
mov eax, dword [esi + 0x44]
test eax, eax
je 0x30108a2b
mov al, byte [ebp + 0x20]
mov bl, 1
test bl, al
mov byte [ebp + 0x27], bl
je 0x30108810
cmp byte [esi + 0x3b], bl
jbe 0x30108810
mov eax, dword [ebp - 0x18]
push eax
push 1
mov ecx, esi
call fcn.3001a100
mov byte [ebp + 0x27], 2
mov bl, byte [ebp + 0x27]
test byte [ebp + 0x20], 4
je 0x30108840
cmp bl, byte [esi + 0x3b]
jae 0x30108840
lea eax, [ebp + 0x24]
mov ecx, edi
mov dword [ebp + 0x24], 2
call fcn.300ff3b0
mov ecx, dword [ebp + 0x24]
movzx eax, bl
push ecx
push eax
mov ecx, esi
call fcn.3001a100
inc bl
mov byte [ebp + 0x27], bl
test byte [ebp + 0x20], 0x10
je 0x3010885f
cmp bl, byte [esi + 0x3b]
jae 0x3010885f
mov edx, dword [ebp - 0xc]
movzx eax, bl
push edx
push eax
mov ecx, esi
call fcn.3001a100
inc bl
mov byte [ebp + 0x27], bl
test byte [ebp + 0x20], 0x40
je 0x301089b5
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x301088a9
mov eax, dword [edi + 0x80c]
test eax, eax
jne 0x30108895
mov eax, dword [edi + 0xbfc]
test eax, eax
je 0x301088a3
mov eax, dword [eax + 0xc0]
test eax, eax
je 0x301088a3
mov eax, dword [eax + 0x34]
test eax, eax
je 0x301088a3
mov eax, dword [eax + 0xa8]
test eax, eax
je 0x301088a3
mov ebx, eax
jmp 0x301088ac
mov eax, dword [edi + 0x570]
mov ebx, dword [eax + 0x54]
test ebx, ebx
je 0x301089b2
mov eax, dword [edi + 0x80c]
test eax, eax
jne 0x301088d9
mov eax, dword [edi + 0xbfc]
test eax, eax
je 0x301088e3
mov eax, dword [eax + 0xc0]
test eax, eax
je 0x301088e3
mov eax, dword [eax + 0x34]
test eax, eax
je 0x301088e3
mov eax, dword [eax + 0xa8]
test eax, eax
jne 0x301088f0
mov ecx, dword [edi + 0x570]
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x301088fa
mov ecx, dword [eax + 8]
test ecx, ecx
mov dword [ebp + 8], ecx
jne 0x30108903
mov ecx, dword [edi + 0x224]
mov dword [ebp + 8], ecx
mov eax, dword [ebx + 8]
test eax, eax
je 0x3010896e
jmp 0x30108910
mov ecx, dword [ebp + 8]
nop
cmp ecx, eax
je 0x3010896e
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x30108932
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x218]
test eax, eax
jne 0x3010892d
call fcn.300e4110
cmp eax, 6
jg 0x30108953
mov edx, dword [ebx + 8]
mov eax, dword [edx + 0x20]
test eax, eax
je 0x30108964
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x218]
test eax, eax
jne 0x3010894e
call fcn.300e4110
cmp eax, 6
jle 0x30108964
mov al, byte [ebx + 0x54]
test al, al
jns 0x30108964
mov eax, dword [edi + 0xc24]
test eax, eax
je 0x3010896e
mov ebx, dword [ebx + 8]
mov eax, dword [ebx + 8]
test eax, eax
jne 0x3010890c
mov eax, dword [ebx + 0x20]
test eax, eax
mov cl, byte [ebp + 0x27]
je 0x30108994
cmp cl, byte [esi + 0x3b]
jae 0x301089b2
mov edx, dword [eax + 0xc0]
mov bl, cl
push edx
lea ecx, [ebp + 0x24]
call fcn.300ba270
mov eax, dword [ebp + 0x24]
push eax
jmp 0x301089a2
cmp cl, byte [esi + 0x3b]
jae 0x301089b2
mov bl, byte [ebp + 0x27]
mov ecx, 2
push ecx
movzx eax, bl
mov ecx, esi
push eax
call fcn.3001a100
inc bl
mov byte [ebp + 0x27], bl
mov bl, byte [ebp + 0x27]
mov al, byte [ebp + 0x20]
test al, al
jns 0x301089fd
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x301089fd
mov eax, dword [eax + 0x54]
test eax, eax
je 0x301089fd
mov eax, dword [eax + 8]
test eax, eax
je 0x301089fd
mov eax, dword [eax + 0x20]
test eax, eax
je 0x301089fd
cmp bl, byte [esi + 0x3b]
jae 0x301089fd
mov edx, dword [eax + 0xc0]
push edx
lea ecx, [ebp + 0x24]
call fcn.300ba270
mov eax, dword [ebp + 0x24]
push eax
movzx eax, bl
push eax
mov ecx, esi
call fcn.3001a100
inc bl
mov eax, dword [ebp + 0x20]
test ah, 1
je 0x30108a2b
cmp bl, byte [esi + 0x3b]
jae 0x30108a2b
push 1
mov ecx, edi
movzx ebx, bl
call fcn.30101b30
push eax
lea ecx, [ebp + 0x24]
call fcn.300ba270
mov ecx, dword [ebp + 0x24]
push ecx
push ebx
mov ecx, esi
call fcn.3001a100
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x74]
lea ecx, [eax + edx]
add eax, 2
mov dword [ebp - 0x70], eax
xor ebx, ebx
mov bh, byte [ecx + 1]
mov bl, byte [ecx]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx + 0x34]
push ebx
push 0
push ecx
mov ecx, dword [ebp + 0x1c]
push 0xffffffffffffffff
push ecx
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx + 0x7c]
add ecx, eax
push ecx
mov ecx, dword [ebp - 0x1c]
add eax, edx
push eax
push edi
call fcn.300be3e0
mov eax, dword [ebp + 0x18]
test eax, eax
setne dl
inc dl
mov ecx, 1
mov byte [esi + 0x3a], dl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x50]
call fcn.300c3150
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x30108ab1
mov eax, dword [edi + 0x674]
test eax, eax
jbe 0x30108aae
mov edx, dword [edi + 0x67c]
dec eax
mov dword [edi + 0x674], eax
mov dword [edx + eax*4], 2
dec ecx
jne 0x30108a90
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x30108af5
mov ecx, dword [edi + 0x674]
mov eax, dword [edi + 0x678]
mov ebx, dword [ebp - 8]
lea esi, [edi + 0x658]
inc ecx
cmp ecx, eax
jbe 0x30108ae9
test eax, eax
je 0x30108ada
add eax, eax
jmp 0x30108adf
mov eax, 0x80
mov ecx, esi
mov dword [esi + 0x20], eax
call fcn.30012ea0
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x24]
mov dword [eax + edx*4], ebx
inc dword [esi + 0x1c]
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x30108b3a
mov ecx, dword [edi + 0x674]
mov eax, dword [edi + 0x678]
add edi, 0x658
inc ecx
cmp ecx, eax
jbe 0x30108b2a
test eax, eax
je 0x30108b1b
add eax, eax
jmp 0x30108b20
mov eax, 0x80
mov ecx, edi
mov dword [edi + 0x20], eax
call fcn.30012ea0
mov edx, dword [edi + 0x1c]
mov eax, dword [edi + 0x24]
mov dword [eax + edx*4], 2
inc dword [edi + 0x1c]
mov eax, dword [ebp - 0x18]
lea esp, [ebp - 0x80]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20