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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
mov eax, dword [0x101a8cb0]
xor eax, esp
mov dword [esp + 0x138], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0x24]
mov dword [esp + 0x30], eax
xor eax, eax
push edi
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0xffff
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], 1
cmp esi, eax
je 0x10080341
lea ecx, [esi + 0x10]
push 0x101466f8
push ecx
call fcn.100338a0
add esp, 8
test eax, eax
jne 0x10080341
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x10]
cmp word [edx], 0
jne 0x10080369
push 0x13e
mov eax, edx
push 0
push eax
call fcn.1002a420
mov edx, dword [esp + 0x1c]
mov ecx, 1
add esp, 0xc
mov word [edx], cx
xor eax, eax
push 0x54
push eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
lea eax, [esp + 0x68]
push eax
call fcn.1002a420
add esp, 0xc
mov dword [esp + 0x68], 1
mov dword [esp + 0x6c], 0
test esi, esi
jne 0x100803af
lea ecx, [esp + 0x60]
mov dword [esp + 0x14], ecx
push edi
call fcn.10078c40
push ebx
call fcn.10078c40
mov edx, dword [esp + 0x3c]
push edx
call fcn.10078c40
add esp, 0xc
test edi, edi
je 0x100803e5
mov eax, dword [edi]
xor esi, esi
test eax, eax
je 0x100803e9
cmp word [eax], 2
jne 0x100803e9
mov eax, dword [edi + esi*4 + 4]
inc esi
test eax, eax
jne 0x100803d4
jmp 0x100803e9
mov esi, dword [esp + 0x40]
test ebx, ebx
je 0x10080413
mov eax, dword [ebx]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x10080413
lea esp, [esp]
cmp word [eax], 2
jne 0x1008040f
mov eax, dword [ebx + ecx*4 + 4]
inc ecx
test eax, eax
jne 0x10080400
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x34]
test edx, edx
je 0x1008043a
mov eax, dword [edx]
xor ecx, ecx
mov dword [esp + 0x28], ecx
test eax, eax
je 0x1008043a
cmp word [eax], 2
jne 0x10080436
mov eax, dword [edx + ecx*4 + 4]
inc ecx
test eax, eax
jne 0x10080427
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x10]
cmp word [eax], 1
jne 0x100804a4
cmp dword [eax + 0x116], 0
jne 0x100804a4
mov eax, dword [esp + 0x38]
push 0x7d00
push eax
call fcn.10009ed0
add esp, 8
test eax, eax
jne 0x1008047d
mov eax, 0x66
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.1002aab0
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x10]
push 0x7d00
push eax
push ebx
call fcn.1000b360
mov ecx, dword [esp + 0x44]
add esp, 0xc
mov dword [ebx + 0x12e], ecx
mov dword [ebx + 0x132], 0
mov ebx, dword [esp + 0xc]
push 0
push 0
push ebx
mov dword [esp + 0x6c], 1
call fcn.1000c5c0
mov edx, dword [esp + 0x1c]
push 0
push 0
push edx
call fcn.1000c5c0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x78]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push esi
push edi
push edx
push ebx
call fcn.1007e9a0
movzx ebx, ax
add esp, 0x3c
cmp bx, 3
jne 0x1008094a
mov eax, dword [esp + 0xc]
push 1
xor ebx, ebx
push ebx
push eax
call fcn.1000c5c0
add esp, 0xc
cmp esi, ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x64], 0x4000
jg 0x1008052e
cmp dword [esp + 0x1c], ebx
jle 0x100805e3
test esi, esi
jle 0x1008057b
mov ecx, 0x10
mov eax, dword [edi + ebx*4]
cmp word [eax], 2
jne 0x10080546
cmp word [eax + 2], cx
je 0x1008054d
inc ebx
cmp ebx, esi
jl 0x10080537
jmp 0x1008057b
cmp ebx, esi
jge 0x1008057b
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
push edx
lea ecx, [esp + 0xc4]
push eax
push ecx
mov dword [esp + 0x30], ecx
call fcn.10031ea0
mov edx, dword [edi + ebx*4]
mov eax, dword [edx + 4]
add esp, 0xc
mov byte [esp + eax + 0xc0], 0
mov ecx, dword [esp + 0x1c]
xor ebx, ebx
test ecx, ecx
jle 0x100805e3
mov edx, dword [esp + 0x20]
lea esp, [esp]
mov eax, dword [edx + ebx*4]
cmp word [eax], 2
jne 0x100805a0
cmp word [eax + 2], 0x10
je 0x100805a7
inc ebx
cmp ebx, ecx
jl 0x10080590
jmp 0x100805e3
cmp ebx, ecx
jge 0x100805e3
mov eax, dword [edx + ebx*4]
mov edx, dword [eax + 8]
lea ecx, [esp + 0xc0]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 4]
push ecx
push edx
lea eax, [esp + 0xc8]
push eax
call fcn.10031ea0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + ebx*4]
mov eax, dword [edx + 4]
add esp, 0xc
mov byte [esp + eax + 0xc0], 0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
call fcn.1007d390
movzx ebx, ax
add esp, 0x10
test bx, bx
je 0x10080637
push 0x183c
push str.._rddfile.c
push ebx
push 0x40003
call fcn.10002e30
add esp, 0x10
mov ax, bx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.1002aab0
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0xc]
push 0
push edx
push eax
call fcn.1000c5c0
add esp, 0xc
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x60]
push ecx
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x58]
push edx
call fcn.10079e30
add esp, 0x14
test eax, eax
jl 0x10080f3c
jmp 0x10080680
mov ax, word [esp + 0x18]
cmp ax, word [esp + 0x48]
je 0x10080830
test edi, edi
je 0x10080919
mov eax, dword [edi + esi*4]
test eax, eax
je 0x1008075b
movzx ecx, word [eax]
mov edx, dword [esp + 0x48]
cmp cx, dx
ja 0x1008075b
mov edx, dword [esp + 0x4a]
jb 0x100806c6
movzx ecx, word [eax + 2]
cmp cx, dx
jae 0x1008075b
mov cx, word [esp + 0x18]
cmp word [eax], cx
jne 0x1008075b
lea edx, [esp + 0xb8]
push edx
push eax
call fcn.10073db0
add esp, 8
test ax, ax
je 0x100806fe
mov ecx, dword [edi + esi*4]
lea eax, [esp + 0xb8]
push eax
push ecx
call fcn.10078760
add esp, 8
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x60]
push edx
push eax
push ecx
mov ecx, dword [edi + esi*4]
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0xc8]
push eax
push ecx
call fcn.10079b30
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [edi + esi*4]
push eax
push eax
push edx
lea eax, [esp + 0xdc]
push eax
push ecx
call fcn.1007d2b0
movzx ebx, ax
add esp, 0x2c
test bx, bx
jne 0x10080f3c
mov eax, dword [edi + esi*4 + 4]
inc esi
test eax, eax
jne 0x100806a3
mov eax, dword [edi + esi*4]
test eax, eax
je 0x10080830
movzx ecx, word [eax]
cmp cx, word [esp + 0x48]
jae 0x10080830
cmp word [esp + 0x18], cx
je 0x1008079c
mov edx, dword [esp + 0x14]
movzx eax, word [eax + 2]
push edx
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push eax
push ecx
call fcn.10079c30
add esp, 0x14
mov eax, dword [edi + esi*4]
lea edx, [esp + 0xb8]
push edx
push eax
call fcn.10073db0
add esp, 8
test ax, ax
je 0x100807c9
mov edx, dword [edi + esi*4]
lea ecx, [esp + 0xb8]
push ecx
push edx
call fcn.10078760
add esp, 8
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x60]
push eax
push ecx
push edx
mov edx, dword [edi + esi*4]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xc8]
push ecx
push edx
call fcn.10079b30
mov eax, dword [esp + 0x2c]
mov edx, dword [edi + esi*4]
push eax
push eax
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0xdc]
push ecx
push edx
call fcn.1007d2b0
movzx ebx, ax
add esp, 0x2c
test bx, bx
jne 0x10080f3c
mov eax, dword [edi + esi*4]
movzx ecx, word [eax]
mov eax, dword [edi + esi*4 + 4]
inc esi
mov dword [esp + 0x18], ecx
test eax, eax
jne 0x10080766
test edi, edi
je 0x10080919
mov eax, dword [edi + esi*4]
test eax, eax
je 0x10080919
movzx ecx, word [eax]
mov edx, dword [esp + 0x48]
cmp cx, dx
ja 0x10080919
jb 0x10080864
movzx ecx, word [eax + 2]
cmp cx, word [esp + 0x4a]
jae 0x10080919
mov dx, word [esp + 0x18]
cmp dx, word [eax]
je 0x1008088f
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x40]
push edx
movzx edx, word [eax + 2]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
push ecx
push edx
push eax
call fcn.10079c30
add esp, 0x14
mov edx, dword [edi + esi*4]
lea ecx, [esp + 0xb8]
push ecx
push edx
call fcn.10073db0
add esp, 8
test ax, ax
je 0x100808bc
mov ecx, dword [edi + esi*4]
lea eax, [esp + 0xb8]
push eax
push ecx
call fcn.10078760
add esp, 8
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x60]
push edx
push eax
push ecx
mov ecx, dword [edi + esi*4]
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0xc8]
push eax
push ecx
call fcn.10079b30
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [edi + esi*4]
push eax
push eax
push edx
lea eax, [esp + 0xdc]
push eax
push ecx
call fcn.1007d2b0
mov edx, dword [edi + esi*4]
movzx ebx, ax
movzx eax, word [edx]
inc esi
mov dword [esp + 0x44], eax
mov eax, dword [edi + esi*4]
add esp, 0x2c
test eax, eax
jne 0x10080843
push 0
push 0x189c
lea ecx, [esp + 0x4c]
push str.._rddfile.c
push ecx
call fcn.10004aa0
add esp, 0x10
test eax, eax
jle 0x1008095d
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0xbc]
push eax
call fcn.10003cb0
jmp 0x10080989
test bx, bx
je 0x1008064b
push 0x1844
jmp 0x1008060c
lea ecx, [esp + 0xb8]
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.10073db0
add esp, 8
test ax, ax
je 0x1008098c
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.10078760
add esp, 8
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
test eax, eax
je 0x100809ce
mov ecx, dword [esp + 0x28]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x100809ce
movzx ecx, word [eax]
cmp cx, dx
ja 0x100809ce
jb 0x100809ba
movzx eax, word [eax + 2]
mov ecx, dword [esp + 0x4a]
cmp ax, cx
jae 0x100809ce
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
inc eax
mov dword [esp + 0x28], eax
mov eax, dword [ecx + eax*4]
test eax, eax
jne 0x100809a3
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10080a0c
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x10080a0c
movzx ecx, word [eax]
cmp cx, dx
ja 0x10080a0c
jb 0x100809f8
movzx eax, word [eax + 2]
mov ecx, dword [esp + 0x4a]
cmp ax, cx
jae 0x10080a0c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + eax*4]
test eax, eax
jne 0x100809e1
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], 0
test eax, eax
je 0x10080aac
mov ecx, dword [esp + 0x28]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x10080aac
movzx ecx, word [eax]
cmp cx, dx
ja 0x10080aac
jb 0x10080aac
movzx eax, word [eax + 2]
mov ecx, dword [esp + 0x4a]
cmp ax, cx
ja 0x10080aac
jb 0x10080aac
mov eax, dword [esp + 0x4c]
cmp eax, 0xffffffff
jne 0x10080a70
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x60]
push edx
push eax
call fcn.1007add0
movzx eax, ax
add esp, 8
test ax, ax
je 0x10080aa5
jmp 0x10080ed1
test eax, eax
js 0x10080f1a
mov ebx, dword [esp + 0xc]
push 1
push 0
push ebx
call fcn.1000c5c0
mov ecx, eax
mov eax, dword [esp + 0x58]
add ecx, eax
add esp, 0xc
test ecx, ecx
js 0x10080f1a
push 1
push eax
push ebx
call fcn.1000c5c0
add esp, 0xc
xor ebx, ebx
jmp 0x10080ed9
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10080c52
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x10080c52
movzx ecx, word [eax]
cmp cx, dx
ja 0x10080c52
jb 0x10080c52
movzx ecx, word [eax + 2]
mov edx, dword [esp + 0x4a]
cmp cx, dx
ja 0x10080c4e
jb 0x10080c4e
mov dx, word [esp + 0x18]
cmp dx, word [eax]
je 0x10080b1b
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x40]
push edx
movzx edx, word [eax + 2]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
push ecx
push edx
push eax
call fcn.10079c30
add esp, 0x14
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x60]
push ecx
push edx
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [eax + ebx*4]
lea edx, [esp + 0xc8]
push edx
push ecx
call fcn.10079b30
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
push eax
push eax
push edx
mov edx, dword [ecx + ebx*4]
lea eax, [esp + 0xdc]
push eax
push edx
call fcn.1007d2b0
movzx ebx, ax
add esp, 0x2c
test bx, bx
jne 0x10080c37
mov eax, 0x7fe0
cmp word [esp + 0x48], ax
jne 0x10080b8f
cmp word [esp + 0x4a], 0x10
je 0x10080f3c
mov eax, dword [esp + 0x4c]
cmp eax, 0xffffffff
jne 0x10080bd0
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x60]
push ecx
push edx
call fcn.1007add0
movzx eax, ax
add esp, 8
test ax, ax
je 0x10080c35
mov edx, dword [esp + 0x20]
movzx ebx, ax
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + eax*4]
movzx edx, word [ecx]
mov dword [esp + 0x18], edx
jmp 0x10080ed4
test eax, eax
jns 0x10080bf0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + eax*4]
movzx edx, word [ecx]
mov ebx, 2
mov dword [esp + 0x18], edx
jmp 0x10080ed4
mov ebx, dword [esp + 0xc]
push 1
push 0
push ebx
call fcn.1000c5c0
mov ecx, eax
mov eax, dword [esp + 0x58]
add ecx, eax
add esp, 0xc
test ecx, ecx
jns 0x10080c29
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + eax*4]
movzx edx, word [ecx]
mov ebx, 2
mov dword [esp + 0x18], edx
jmp 0x10080ed4
push 1
push eax
push ebx
call fcn.1000c5c0
add esp, 0xc
xor ebx, ebx
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + eax*4]
movzx edx, word [ecx]
mov dword [esp + 0x18], edx
jmp 0x10080ed4
mov edx, dword [esp + 0x48]
test edi, edi
je 0x10080e3a
mov eax, dword [edi + esi*4]
test eax, eax
je 0x10080e3a
movzx ecx, word [eax]
cmp cx, dx
ja 0x10080e3a
jb 0x10080e3a
movzx ecx, word [eax + 2]
cmp cx, word [esp + 0x4a]
ja 0x10080e3a
jb 0x10080e3a
cmp dword [ebp + 0x20], 0
je 0x10080c9f
mov dword [esp + 0x38], 1
jmp 0x10080d9d
mov cx, word [esp + 0x18]
cmp cx, word [eax]
je 0x10080cca
mov edx, dword [esp + 0x14]
movzx eax, word [eax + 2]
push edx
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push eax
push ecx
call fcn.10079c30
add esp, 0x14
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x60]
push edx
push eax
push ecx
mov ecx, dword [edi + esi*4]
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0xc8]
push eax
push ecx
call fcn.10079b30
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [edi + esi*4]
push eax
push eax
push edx
lea eax, [esp + 0xdc]
push eax
push ecx
call fcn.1007d2b0
mov edx, dword [esp + 0x74]
movzx ebx, ax
add esp, 0x2c
test bx, bx
jne 0x10080d9d
mov eax, 0x7fe0
cmp dx, ax
jne 0x10080d34
cmp word [esp + 0x4a], 0x10
je 0x10080f3c
mov eax, dword [esp + 0x4c]
cmp eax, 0xffffffff
jne 0x10080d5c
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x60]
push ecx
push edx
call fcn.1007add0
movzx eax, ax
add esp, 8
test ax, ax
je 0x10080d97
movzx ebx, ax
jmp 0x10080d99
test eax, eax
jns 0x10080d67
mov ebx, 2
jmp 0x10080d9d
mov ebx, dword [esp + 0xc]
push 1
push 0
push ebx
call fcn.1000c5c0
mov ecx, eax
mov eax, dword [esp + 0x58]
add ecx, eax
add esp, 0xc
test ecx, ecx
jns 0x10080d8b
mov ebx, 2
jmp 0x10080d99
push 1
push eax
push ebx
call fcn.1000c5c0
add esp, 0xc
xor ebx, ebx
mov edx, dword [esp + 0x48]
mov eax, dword [edi + esi*4]
movzx ecx, word [eax]
inc esi
cmp dword [esp + 0x38], 0
mov dword [esp + 0x18], ecx
je 0x10080ed4
cmp word [esp + 0x18], dx
je 0x10080ddb
mov edx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x4e]
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
push ecx
push edx
push eax
call fcn.10079c30
add esp, 0x14
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x60]
push ecx
push edx
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0xc8]
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.10079b30
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add esp, 0x18
cmp dword [esp + 0x4c], 0xffffffff
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x64]
push edx
push eax
push ecx
lea edx, [esp + 0xc8]
lea eax, [esp + 0x58]
push edx
push eax
je 0x10080ec0
call fcn.1007b490
jmp 0x10080ec5
cmp dx, 2
jne 0x10080db3
cmp word [esp + 0x4a], 0x10
jne 0x10080e93
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0xc]
push edx
lea eax, [esp + 0xc4]
push eax
push ecx
call fcn.1000b880
mov ecx, dword [esp + 0x58]
add esp, 0xc
cmp eax, ecx
jne 0x10080f37
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0xc4]
push eax
mov byte [esp + ecx + 0xc8], 0
call fcn.100784b0
add esp, 8
xor ebx, ebx
jmp 0x10080ed9
mov eax, dword [esp + 0x4c]
cmp eax, 0xffffffff
jne 0x10080a70
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x60]
push ecx
push edx
call fcn.1007add0
movzx eax, ax
add esp, 8
test ax, ax
je 0x10080aa5
jmp 0x10080ed1
call fcn.1007af50
movzx ecx, word [esp + 0x60]
add esp, 0x18
mov dword [esp + 0x18], ecx
movzx ebx, ax
test bx, bx
jne 0x10080f3c
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x60]
push edx
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x58]
push eax
call fcn.10079e30
add esp, 0x14
test eax, eax
jge 0x10080680
mov ax, bx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.1002aab0
mov esp, ebp
pop ebp
ret
mov ebx, 2
mov ax, bx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.1002aab0
mov esp, ebp
pop ebp
ret
mov ebx, 0xca
mov ecx, dword [esp + 0x144]
pop edi
pop esi
mov ax, bx
pop ebx
xor ecx, esp
call fcn.1002aab0
mov esp, ebp
pop ebp
ret