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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
xor ebx, ebx
cmp dword [ecx + 0x110], 0
je 0x1017a54e
mov eax, ebx
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0
jne 0x1017a544
cmp byte [edx + 0x2b], 1
je 0x1017a544
mov esi, ecx
mov ecx, dword [ebp + 0xc]
cmp ecx, 0xb
jne 0x1017a57f
cmp word [edx + 0x20], 0
js 0x1017a57a
mov cl, byte [edx + 0x2a]
cmp cl, 0xb
jne 0x1017a8b4
mov ecx, 2
mov edi, dword [eax + 0x20]
cmp dword [edi], 1
jne 0x1017a544
cmp dword [edi + 0x1c], 0
jne 0x1017a544
cmp dword [eax + 0x24], 0
jne 0x1017a544
cmp dword [eax + 0x30], 0
jne 0x1017a544
cmp dword [eax + 0x28], 0
jne 0x1017a544
cmp dword [eax + 0x3c], 0
jne 0x1017a544
cmp dword [eax + 0x34], 0
jne 0x1017a544
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], edx
test byte [eax + 4], 1
jne 0x1017a544
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
jne 0x1017a544
mov eax, dword [eax + 8]
cmp byte [eax], 0xb4
jne 0x1017a544
mov eax, dword [esi]
mov dword [ebp - 0x38], eax
add edi, 8
xor ebx, ebx
mov ecx, esi
xor edx, edx
push edi
call fcn.10171ba0
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1017a544
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx + 0x14]
jne 0x1017a60d
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx + 0x3c]
je 0x1017a544
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x1c]
mov edx, eax
xor dl, cl
js 0x1017a544
mov edx, dword [ebp - 0x20]
cmp byte [edx + 0x2b], 0
jne 0x1017a544
mov edx, dword [ebp - 0x14]
movzx edx, word [edx + 0x22]
mov edi, dword [ebp - 0x20]
mov word [ebp - 0x10], dx
cmp dx, word [edi + 0x22]
jne 0x1017a544
mov edx, dword [ebp - 0x14]
movzx edi, word [edx + 0x20]
mov edx, dword [ebp - 0x20]
cmp di, word [edx + 0x20]
jne 0x1017a544
bt ecx, 0x10
jae 0x1017a66d
and eax, 0x10000
je 0x1017a544
cmp word [ebp - 0x10], 0
jle 0x1017a8c3
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 4]
mov ecx, dword [ebp - 0x24]
shl ecx, 4
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 4]
mov dword [ebp - 0x1c], edi
movzx eax, word [edi + ecx + 0xe]
and eax, 0x60
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], edx
movzx ecx, word [edx + ecx + 0xe]
and ecx, 0x60
cmp ax, cx
jne 0x1017a8bc
test ax, ax
je 0x1017a713
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
movzx ecx, word [ecx + eax + 0xc]
xor edx, edx
mov eax, 0
test ecx, ecx
je 0x1017a6e0
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x2b], 0
mov eax, 0
je 0x1017a872
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x18]
movzx ecx, word [edi + ecx + 0xc]
test ecx, ecx
je 0x1017a6fc
mov edi, dword [ebp - 0x20]
cmp byte [edi + 0x2b], 0
je 0x1017a892
xor ebx, ebx
xor ecx, ecx
push 0xffffffffffffffff
push eax
call fcn.100317c0
add esp, 8
test eax, eax
jne 0x1017a544
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + ecx + 8]
mov edx, dword [ebp - 0x18]
cmp al, byte [edx + ecx + 8]
jne 0x1017a8bc
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, ecx
add eax, 0xe
mov edx, dword [ebp - 0x18]
add ecx, edx
add ecx, 0xe
movzx ecx, word [ecx]
bt ecx, 9
jb 0x1017a7e3
movzx eax, word [eax]
xor ecx, ecx
mov dword [ebp - 0x2c], eax
bt eax, 9
jb 0x1017a81c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
test byte [ecx + eax + 4], 0xf
je 0x1017a77a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
test byte [ecx + eax + 4], 0xf
je 0x1017a8bc
test byte [ebp - 0x2c], 0x60
jne 0x1017a7c8
cmp dword [ebp - 0x24], 0
je 0x1017a7c8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
movzx ecx, word [ecx + eax + 0xc]
xor eax, eax
test ecx, ecx
je 0x1017a7a4
mov edx, dword [ebp - 0x14]
cmp byte [edx + 0x2b], 0
je 0x1017a966
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
movzx ecx, word [edx + ecx + 0xc]
test ecx, ecx
je 0x1017a7c0
mov edx, dword [ebp - 0x20]
cmp byte [edx + 0x2b], 0
je 0x1017a988
test eax, eax
jne 0x1017a8bc
mov ecx, dword [ebp - 0x24]
inc ecx
mov eax, dword [ebp - 0x14]
movsx eax, word [eax + 0x22]
mov dword [ebp - 0x24], ecx
cmp ecx, eax
jl 0x1017a67f
jmp 0x1017a8c3
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x18]
add edx, edi
mov edx, dword [edx]
dec edx
cmp byte [edx + 1], 0
lea edx, [edx + 1]
jne 0x1017a7ee
test cl, 4
jne 0x1017a800
mov ecx, edx
jmp 0x1017a80b
lea ecx, [edx + 1]
cmp byte [edx + 1], 0
mov edx, ecx
jne 0x1017a800
movzx eax, word [eax]
mov dword [ebp - 0x2c], eax
bt eax, 9
jae 0x1017a8bc
inc ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
add eax, edx
mov edi, dword [eax]
dec edi
cmp byte [edi + 1], 0
lea edi, [edi + 1]
jne 0x1017a827
test byte [ebp - 0x2c], 4
jne 0x1017a83a
mov edx, edi
jmp 0x1017a845
lea edx, [edi + 1]
cmp byte [edi + 1], 0
mov edi, edx
jne 0x1017a83a
test ecx, ecx
je 0x1017a8bc
xor edi, edi
movzx ebx, byte [edx + edi + 1]
movzx eax, byte [ecx + edi]
cmp bl, al
jne 0x1017a861
test ebx, ebx
jne 0x1017a86f
jmp 0x1017a75c
mov bl, byte [ebx + 0x101b1828]
cmp bl, byte [eax + 0x101b1828]
jne 0x1017a8bc
inc edi
jmp 0x1017a84b
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 0x34]
mov eax, 0
test edi, edi
je 0x1017a6e0
cmp dword [edi], ecx
jge 0x1017a9dc
jmp 0x1017a6e0
mov edi, dword [ebp - 0x20]
mov edi, dword [edi + 0x34]
test edi, edi
je 0x1017a6fc
cmp dword [edi], ecx
jl 0x1017a6fc
lea ecx, [ecx + ecx*4]
mov edx, dword [edi + ecx*4 - 0xc]
jmp 0x1017a6fc
movzx ecx, cl
jmp 0x1017a57f
xor ebx, ebx
jmp 0x1017a544
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1017a920
xor ebx, ebx
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x36], 0
mov eax, dword [ebp - 0x24]
mov ecx, 1
cmovne eax, ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
test eax, eax
je 0x1017a544
mov edi, eax
mov ecx, dword [ebp - 0x10]
mov edx, edi
call fcn.1017b230
test eax, eax
jne 0x1017aa27
mov eax, edi
mov eax, dword [edi + 0x14]
mov edi, eax
test eax, eax
jne 0x1017a8fe
jmp 0x1017a544
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x10]
test edx, edx
je 0x1017a946
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x10]
call fcn.10159140
xor ebx, ebx
test eax, eax
jne 0x1017a544
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 0x24]
bt dword [ecx + 0x20], 0xe
jb 0x1017a9e8
xor ebx, ebx
test al, 1
jne 0x1017a544
jmp 0x1017aa00
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0x34]
test edx, edx
je 0x1017a7a4
cmp dword [edx], ecx
jl 0x1017a7a4
lea eax, [ecx + ecx*4]
mov eax, dword [edx + eax*4 - 0xc]
jmp 0x1017a7a4
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + 0x34]
test edx, edx
je 0x1017a7c0
cmp dword [edx], ecx
jl 0x1017a7c0
lea ecx, [ecx + ecx*4]
mov ecx, dword [edx + ecx*4 - 0xc]
test eax, eax
setne dl
test ecx, ecx
sete dh
xor ebx, ebx
cmp dl, dh
je 0x1017a544
test eax, eax
je 0x1017a7c8
push dword [ecx + 8]
push dword [eax + 8]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
je 0x1017a7c8
jmp 0x1017a544
lea eax, [ecx + ecx*4]
mov eax, dword [edi + eax*4 - 0xc]
jmp 0x1017a6e0
xor ebx, ebx
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x30], 0
jne 0x1017a544
and eax, 1
jne 0x1017a544
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x1017aa5a
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 0x10]
add ecx, 0xc
xor edx, edx
dec edx
mov dword [ebp - 0x2c], edx
inc dword [ebp - 0x2c]
lea edx, [ecx + 0x10]
cmp dword [ecx], eax
mov ecx, edx
jne 0x1017aa19
jmp 0x1017aa61
mov eax, dword [edi + 0x2c]
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx + 0x2c]
jne 0x1017aa44
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx + 0x3c]
je 0x1017b1ca
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x1017a8d9
jmp 0x1017a927
mov dword [ebp - 0x2c], 0xffff8000
mov eax, dword [esi + 8]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1017acef
mov eax, dword [esi + 0x78]
test eax, eax
cmove eax, esi
mov edx, dword [eax + 0x58]
xor ebx, ebx
inc ebx
mov edi, ebx
mov ecx, dword [ebp - 0x2c]
shl edi, cl
bt edx, ecx
jae 0x1017ad08
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x1c], eax
add eax, 2
mov dword [esi + 0x28], eax
mov ecx, esi
mov edx, dword [ebp + 0x10]
push dword [ebp - 0x14]
call fcn.10053cd0
add esp, 4
mov dword [ebp - 0x34], eax
mov al, byte [esi + 0x13]
test al, al
je 0x1017ad23
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0xa0]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x4b
push eax
push dword [ebp - 0x3c]
push eax
call fcn.10030110
add esp, 0xc
mov al, byte [esi + 0x13]
test al, al
je 0x1017ad32
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0xa0]
mov dword [ebp - 0x30], eax
mov ecx, esi
mov edx, dword [ebp - 0x18]
push 0x71
push dword [ebp - 0x14]
push dword [ebp + 0x10]
call fcn.100412d0
add esp, 0xc
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x38]
test byte [eax + 0x18], 4
jne 0x1017ab96
mov eax, dword [ebp - 0x14]
cmp word [eax + 0x20], 0
js 0x1017ad55
cmp dword [ebp - 0x24], 0
je 0x1017ad41
xor eax, eax
mov edi, dword [ebp - 0x10]
mov ecx, edi
mov edx, 0x24
push eax
push eax
push dword [ebp - 0x18]
call fcn.10030110
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ecx, edi
mov edx, 9
xor eax, eax
push eax
push eax
push eax
call fcn.10030110
add esp, 0xc
mov dword [ebp - 0x48], eax
mov edx, dword [edi]
mov eax, dword [edi + 0x6c]
mov ecx, 0x101f4350
cmp byte [edx + 0x57], 0
jne 0x1017ab93
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx + ecx*4]
shl ecx, 2
mov edx, dword [ebp - 0x10]
add ecx, dword [edx + 0x68]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x20]
test byte [eax + 0x1c], 0x80
jne 0x1017ac7a
mov ecx, esi
mov edi, dword [ebp - 0x1c]
mov edx, edi
push 0x70
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
call fcn.100412d0
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x24
push eax
push eax
push edi
call fcn.10030110
add esp, 0xc
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
cmp word [eax + 0x20], 0
js 0x1017ad67
mov ecx, dword [ebp - 0x10]
mov edx, 0x87
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x1c]
call fcn.10030110
add esp, 0xc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x38]
test byte [eax + 0x18], 4
jne 0x1017ac53
mov edi, dword [ebp - 0x10]
mov ecx, edi
mov edx, 0x1f
push dword [ebp - 0x30]
push 0
push dword [ebp - 0x18]
call fcn.10030110
add esp, 0xc
mov dword [ebp - 0x40], eax
mov ecx, esi
mov edx, dword [ebp - 0x28]
push dword [ebp - 0x14]
call fcn.1017a4c0
add esp, 4
mov edx, dword [edi]
mov eax, dword [edi + 0x6c]
mov ecx, 0x101f4350
cmp byte [edx + 0x57], 0
jne 0x1017ac50
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx + ecx*4]
shl ecx, 2
mov edx, dword [ebp - 0x10]
add ecx, dword [edx + 0x68]
mov dword [ecx + 8], eax
cmp dword [ebp - 0x34], 0
jle 0x1017ad8f
mov ecx, dword [esi + 8]
mov edx, 0x9f
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.10030110
add esp, 0xc
jmp 0x1017ad8f
cmp dword [ebp + 0x10], 1
je 0x1017acac
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp + 0x10]
shl ecx, 4
mov eax, dword [eax + ecx + 4]
cmp byte [eax + 9], 0
je 0x1017acac
mov ecx, esi
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x14]
push dword [eax]
push 1
push dword [eax + 0x14]
call fcn.10046c10
add esp, 0xc
mov dword [ebp - 0x44], 0
cmp dword [ebp - 0x2c], 1
je 0x1017ae6d
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x2c]
shl ecx, 4
mov eax, dword [eax + ecx + 4]
cmp byte [eax + 9], 0
je 0x1017ae6d
mov ecx, esi
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
push dword [eax]
push 0
push dword [eax + 0x14]
call fcn.10046c10
jmp 0x1017ae6a
cmp dword [esi + 0x78], 0
je 0x1017b1b5
mov ecx, esi
call fcn.1002fa90
mov dword [ebp - 0x10], eax
jmp 0x1017aa6f
or edx, edi
mov dword [eax + 0x58], edx
cmp dword [ebp - 0x2c], 1
jne 0x1017aa8d
mov ecx, eax
call fcn.10042980
jmp 0x1017aa8d
mov eax, dword [esi + 0x2c]
inc eax
mov dword [ebp - 0x3c], eax
mov dword [esi + 0x2c], eax
jmp 0x1017aac9
mov eax, dword [esi + 0x2c]
inc eax
mov dword [ebp - 0x30], eax
mov dword [esi + 0x2c], eax
jmp 0x1017ab04
mov eax, dword [ebp - 0x28]
add eax, 0xfffffffd
cmp eax, 0xfffffffd
jbe 0x1017ab41
jmp 0x1017ab96
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0
je 0x1017ab37
jmp 0x1017ab41
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0
je 0x1017b1f5
mov ecx, dword [ebp - 0x10]
mov edx, 0x87
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x1c]
call fcn.10030110
add esp, 0xc
mov dword [ebp - 0x24], eax
mov word [ebp - 0x28], 0xa9
mov eax, dword [ebp - 0x38]
test byte [eax + 0x18], 4
je 0x1017adbb
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x89
push eax
push eax
push dword [ebp - 0x18]
call fcn.10030110
add esp, 0xc
mov word [ebp - 0x28], 0x98
mov edi, dword [ebp - 0x10]
mov ecx, edi
mov edx, 0x81
push dword [ebp - 0x30]
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call fcn.10030110
add esp, 0xc
mov ecx, edi
mov edx, 0x80
push dword [ebp - 0x30]
push dword [ebp - 0x3c]
push dword [ebp - 0x18]
call fcn.10030110
add esp, 0xc
mov eax, dword [ebp - 0x38]
test byte [eax + 0x18], 4
jne 0x1017ae0a
xor edx, edx
dec edx
mov ecx, dword [ebp - 0x10]
push 0xfffffffffffffffb
push dword [ebp - 0x14]
call fcn.1003a6c0
add esp, 8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
test eax, eax
jle 0x1017ae26
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x68]
lea eax, [eax + eax*4]
movzx edx, word [ebp - 0x28]
mov word [ecx + eax*4 - 0x12], dx
xor eax, eax
mov edi, dword [ebp - 0x10]
mov ecx, edi
mov edx, 0x27
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
call fcn.10030110
add esp, 0xc
mov ecx, edi
mov edx, 0x7a
xor eax, eax
push eax
push eax
push dword [ebp - 0x1c]
call fcn.10030110
add esp, 0xc
mov ecx, edi
mov edx, 0x7a
xor eax, eax
push eax
push eax
push dword [ebp - 0x18]
call fcn.10030110
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1017b0e3
mov eax, dword [ebp - 0x20]
mov edi, dword [eax + 8]
mov dword [ebp - 0x28], 0
test edi, edi
je 0x1017aeaf
mov ecx, dword [ebp - 0x14]
mov edx, edi
call fcn.1017b230
test eax, eax
jne 0x1017b0db
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x1017ae8f
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x10]
mov edx, 0x70
push dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
push dword [edi + 0x2c]
push dword [ebp - 0x1c]
call fcn.10030110
add esp, 0xc
mov ecx, esi
mov edx, edi
call fcn.10170170
mov ecx, dword [ebp - 0x10]
mov edx, 0x71
push dword [ebp + 0x10]
mov edi, dword [ebp - 0x14]
push dword [edi + 0x2c]
push dword [ebp - 0x18]
call fcn.10030110
add esp, 0xc
mov ecx, esi
mov edx, edi
call fcn.10170170
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
test eax, eax
jle 0x1017af13
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x68]
lea eax, [eax + eax*4]
mov word [ecx + eax*4 - 0x12], 1
mov ecx, dword [ebp - 0x10]
mov edx, 0x24
xor eax, eax
push eax
push eax
push dword [ebp - 0x1c]
call fcn.10030110
add esp, 0xc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x38]
test byte [eax + 0x18], 4
jne 0x1017af66
mov ax, 8
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
test byte [eax + 0x1c], 0x80
je 0x1017b019
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x38]
and eax, 3
xor ecx, ecx
cmp eax, 2
sete cl
or ecx, 8
mov dword [ebp - 0x34], ecx
jmp 0x1017b019
mov eax, dword [ebp - 0x28]
movzx eax, word [eax + 0x34]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x1017afc9
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
mov edi, dword [ecx + eax*4]
test edi, edi
je 0x1017afd0
xor edx, edx
movzx eax, byte [edx + 0x101b1a9f]
movzx ecx, byte [edi + edx]
cmp al, cl
jne 0x1017afa8
test eax, eax
jne 0x1017afb6
jmp 0x1017afb9
mov al, byte [eax + 0x101b1828]
cmp al, byte [ecx + 0x101b1828]
jne 0x1017afd0
inc edx
jmp 0x1017af93
mov ecx, dword [ebp - 0x28]
inc ecx
mov eax, ecx
mov dword [ebp - 0x28], ecx
cmp ecx, dword [ebp - 0x40]
jne 0x1017af84
jmp 0x1017afdf
mov dword [ebp - 0x28], 0
mov ax, 8
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x40]
jne 0x1017b019
mov edi, dword [ebp - 0x10]
mov ecx, edi
mov edx, 0x89
xor eax, eax
push eax
push eax
push dword [ebp - 0x18]
call fcn.10030110
add esp, 0xc
mov ecx, edi
mov edx, 0x81
xor eax, eax
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call fcn.10030110
add esp, 0xc
mov ax, 0x98
mov dword [ebp - 0x34], eax
jmp 0x1017b031
mov ecx, dword [ebp - 0x10]
mov edx, 0x86
push 1
push dword [ebp - 0x3c]
push dword [ebp - 0x1c]
call fcn.10030110
add esp, 0xc
mov edi, dword [ebp - 0x10]
mov ecx, edi
mov edx, 0x8a
push 0
push dword [ebp - 0x3c]
push dword [ebp - 0x18]
call fcn.10030110
add esp, 0xc
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x1017b063
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x68]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x34]
mov word [ecx + eax*4 - 0x12], dx
mov eax, dword [ebp - 0x24]
inc eax
mov edi, dword [ebp - 0x10]
mov ecx, edi
mov edx, 0x27
push 0
push eax
push dword [ebp - 0x1c]
call fcn.10030110
add esp, 0xc
mov edx, dword [edi]
mov eax, dword [edi + 0x6c]
mov ecx, 0x101f4350
cmp byte [edx + 0x57], 0
jne 0x1017b09e
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx + ecx*4]
shl ecx, 2
mov edx, dword [ebp - 0x10]
add ecx, dword [edx + 0x68]
mov dword [ecx + 8], eax
mov edi, dword [ebp - 0x10]
mov ecx, edi
mov edx, 0x7a
xor eax, eax
push eax
push eax
push dword [ebp - 0x1c]
call fcn.10030110
add esp, 0xc
mov ecx, edi
mov edx, 0x7a
xor eax, eax
push eax
push eax
push dword [ebp - 0x18]
call fcn.10030110
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
jmp 0x1017ae73
mov dword [ebp - 0x28], edi
jmp 0x1017aeaf
cmp dword [ebp - 0x44], 0
je 0x1017b10e
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov eax, dword [eax + 0x6c]
mov ecx, 0x101f4350
cmp byte [edx + 0x57], 0
jne 0x1017b10b
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx + ecx*4]
shl ecx, 2
mov edx, dword [ebp - 0x10]
add ecx, dword [edx + 0x68]
mov dword [ecx + 8], eax
cmp dword [ebp - 0x30], 0
je 0x1017b12e
movzx eax, byte [esi + 0x13]
cmp eax, 7
ja 0x1017b12e
mov ecx, eax
inc cl
mov byte [esi + 0x13], cl
mov ecx, dword [ebp - 0x30]
mov dword [esi + eax*4 + 0xa0], ecx
cmp dword [ebp - 0x3c], 0
je 0x1017b14e
movzx eax, byte [esi + 0x13]
cmp eax, 7
ja 0x1017b14e
mov ecx, eax
inc cl
mov byte [esi + 0x13], cl
mov ecx, dword [ebp - 0x3c]
mov dword [esi + eax*4 + 0xa0], ecx
cmp dword [ebp - 0x48], 0
je 0x1017a544
cmp dword [esi + 0x74], 0
jne 0x1017b217
xor ebx, ebx
mov esi, dword [ebp - 0x10]
mov ecx, esi
mov edx, 0x46
push ebx
push ebx
push ebx
call fcn.10030110
add esp, 0xc
mov edx, dword [esi]
mov eax, dword [esi + 0x6c]
mov ecx, 0x101f4350
cmp byte [edx + 0x57], 0
jne 0x1017b198
mov ecx, dword [ebp - 0x48]
lea ecx, [ecx + ecx*4]
shl ecx, 2
mov edx, dword [ebp - 0x10]
add ecx, dword [edx + 0x68]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x7a
push ebx
push ebx
push dword [ebp - 0x18]
call fcn.10030110
add esp, 0xc
jmp 0x1017a544
mov eax, dword [esi]
test byte [eax + 0x50], 8
jne 0x1017acf9
mov byte [esi + 0x17], 1
jmp 0x1017acf9
mov ecx, dword [0x101f1120]
test ecx, ecx
je 0x1017a544
call dword [section..00cfg]
push 0x19b
call ecx
add esp, 4
test eax, eax
jne 0x1017aa44
jmp 0x1017a544
mov eax, dword [ebp - 0x38]
test byte [eax + 0x18], 8
jne 0x1017ad74
mov ecx, dword [ebp - 0x10]
mov edx, 0x7f
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x18]
jmp 0x1017ad84
mov ecx, esi
call fcn.10179900
jmp 0x1017b162