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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x118], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x18]
push ebx
mov dword [esp + 0x78], eax
mov ebx, edx
mov eax, dword [ebp + 0x1c]
push esi
mov esi, ecx
mov dword [esp + 0x58], eax
mov ecx, dword [ebx + 0x14]
push edi
mov dword [esp + 0x2c], esi
mov eax, dword [esi]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x84]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
sar eax, 2
mov dword [esp + 0x14], edx
test ax, ax
je 0x100795da
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
sar eax, 2
test eax, eax
je 0x100795d1
mov eax, dword [ecx + 8]
mov eax, dword [eax]
jmp 0x100795d3
xor eax, eax
mov eax, dword [eax]
cmp edx, dword [eax + 0xc]
jb 0x100795fc
push 1
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x54]
push eax
push edx
call fcn.10099ab0
test al, al
je 0x10079af5
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x14], edx
cmp edx, dword [ebx + 4]
jae 0x10079af5
cmp edx, dword [esi + 4]
jae 0x10079af5
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x1007961d
mov edx, dword [ecx + 0x84]
jmp 0x1007961f
xor edx, edx
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 8]
sar eax, 2
movzx eax, ax
dec eax
je 0x10079af5
test ecx, ecx
je 0x1007963e
mov edx, dword [ecx + 0x84]
jmp 0x10079640
xor edx, edx
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 8]
sar eax, 2
dec eax
movzx edi, ax
mov eax, dword [ebx + 0xc]
mov edx, dword [eax + 0x3c]
test edx, edx
je 0x10079af5
mov eax, dword [esi]
add eax, edx
mov edx, dword [eax + 0x88]
mov dword [esp + 0x38], edx
test edx, edx
je 0x10079af5
mov eax, dword [eax + 0x8c]
test eax, eax
je 0x10079af5
cmp eax, 0x15000
jb 0x10079af5
test ecx, ecx
je 0x10079696
mov ecx, dword [ecx + 0x84]
jmp 0x10079698
xor ecx, ecx
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
sar eax, 2
cmp di, ax
jae 0x10079af5
mov eax, dword [ecx + 0xc]
mov esi, edi
sub eax, dword [ecx + 8]
sar eax, 2
cmp esi, eax
jae 0x100796c1
mov eax, dword [ecx + 8]
mov esi, dword [eax + esi*4]
jmp 0x100796c3
xor esi, esi
cmp byte [esi + 0x24], 0
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x44], ecx
jne 0x100796e1
mov ecx, esi
call fcn.10097cc0
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
mov eax, dword [esi + 0x20]
add eax, ecx
cmp ecx, eax
ja 0x10079af5
cmp edx, ecx
jae 0x10079769
test di, di
je 0x10079769
mov ecx, dword [ebx + 0x14]
add edi, 0xffff
test ecx, ecx
je 0x1007970c
mov ecx, dword [ecx + 0x84]
jmp 0x1007970e
xor ecx, ecx
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
sar eax, 2
cmp di, ax
jae 0x10079af5
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
movzx esi, di
sar eax, 2
cmp esi, eax
jae 0x10079738
mov eax, dword [ecx + 8]
mov esi, dword [eax + esi*4]
jmp 0x1007973a
xor esi, esi
cmp byte [esi + 0x24], 0
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x44], ecx
jne 0x10079758
mov ecx, esi
call fcn.10097cc0
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
mov eax, dword [esi + 0x20]
add eax, ecx
cmp ecx, eax
ja 0x10079af5
cmp edx, ecx
jne 0x100796f2
mov eax, dword [esp + 0x48]
mov word [eax], di
cmp edx, ecx
ja 0x10079af5
lea eax, [esp + 0x40]
mov ecx, ebx
push eax
lea eax, [esp + 0x7c]
push eax
push 0
call fcn.10095250
test al, al
je 0x10079af5
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x100797a2
mov ecx, dword [ecx + 0x84]
jmp 0x100797a4
xor ecx, ecx
mov eax, dword [ecx + 0xc]
xor edx, edx
sub eax, dword [ecx + 8]
sar eax, 2
cmp dx, ax
jae 0x10079af5
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
sar eax, 2
test eax, eax
je 0x100797cc
mov eax, dword [ecx + 8]
mov esi, dword [eax]
jmp 0x100797ce
xor esi, esi
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x68], ecx
cmp byte [esi + 0x24], dl
jne 0x100797e7
mov ecx, esi
call fcn.10097cc0
mov ecx, dword [esp + 0x68]
mov eax, dword [esi + 0x20]
add eax, ecx
cmp ecx, eax
ja 0x10079af5
mov ecx, ebx
call fcn.100952e0
cmp dword [eax + 0x1c], 0
je 0x10079af5
mov ecx, ebx
call fcn.100952e0
mov ecx, ebx
mov byte [esp + 0x1b], 0
mov byte [esp + 0x23], 0
mov byte [esp + 0x13], 0
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x80]
mov byte [esp + 0x26], 0
push eax
push edi
mov byte [esp + 0x32], 0
mov byte [esp + 0x33], 0
mov byte [esp + 0x3f], 0
mov byte [esp + 0x30], 1
mov byte [esp + 0x35], 0
mov byte [esp + 0x31], 0
mov byte [esp + 0x34], 0
mov byte [esp + 0x36], 0
mov byte [esp + 0x37], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x110], 0x183000f
mov dword [esp + 0x114], 0x3f002e2
mov dword [esp + 0x118], 0x5c90431
mov dword [esp + 0x11c], 0x7c00631
mov dword [esp + 0x120], 0x9f60831
mov dword [esp + 0x124], 0xbb90a51
mov dword [esp + 0x128], 0xd000c10
mov word [esp + 0x12c], 0xe00
mov byte [esp + 0x12e], 0
mov dword [esp + 0xf8], 0x183000b
mov dword [esp + 0xfc], 0x31002c3
mov dword [esp + 0x100], 0x5c70483
mov dword [esp + 0x104], 0x7830610
mov dword [esp + 0x108], 0x91008c1
mov word [esp + 0x10c], 0xa39
mov byte [esp + 0x10e], 0xd1
call fcn.10095250
test al, al
je 0x10079af5
cmp dword [esp + 0x3c], 0x15000
jb 0x10079af5
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x88]
mov ebx, dword [esp + 0x14]
push ebx
push dword [eax + 4]
push dword [eax]
call fcn.1001d150
push ebx
lea ecx, [esp + 0x8c]
call fcn.1001d110
lea eax, [ebx + 0x80]
mov esi, ebx
cmp ebx, eax
jae 0x10079e7c
mov dword [esp + 0x6c], 0x100
lea esp, [esp]
lea edx, [esp + 0x50]
lea ecx, [esp + 0x88]
call fcn.100ae1f0
mov ecx, dword [esp + 0x3c]
mov edx, eax
mov dword [esp + 0x1c], edx
cmp esi, ecx
ja 0x10079af5
test edx, edx
je 0x10079af5
mov eax, dword [esp + 0x34]
cmp ebx, esi
jne 0x100799e2
cmp byte [esi + eax], 0x60
jne 0x100799e2
mov byte [esp + 0x1b], 1
jmp 0x10079e68
mov bl, byte [esi + eax]
lea edi, [esi + eax]
cmp bl, 0xbe
jne 0x10079a24
lea eax, [esi + 1]
cmp eax, ecx
ja 0x10079af5
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
mov eax, dword [eax]
mov eax, dword [eax + esi + 1]
sub eax, dword [esp + 0x64]
sub eax, dword [esp + 0x68]
add eax, dword [esp + 0x78]
cmp eax, ebx
jne 0x10079af5
mov byte [esp + 0x23], 1
jmp 0x10079e68
mov dl, byte [esp + 0x23]
cmp bl, 0xb9
jne 0x10079a8f
test dl, dl
je 0x10079a8f
mov eax, dword [esp + 0x54]
inc eax
mov dword [esp + 0x54], eax
cmp eax, 3
ja 0x10079af5
mov ebx, dword [esp + 0x14]
cmp eax, 1
jne 0x10079e68
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x7c]
mov eax, dword [eax]
mov eax, dword [eax + esi + 1]
sub eax, dword [esp + 0x64]
sub eax, dword [esp + 0x44]
add ecx, eax
mov eax, dword [esp + 0x70]
mov dword [eax], ecx
mov eax, dword [esp + 0x34]
movzx eax, byte [ecx + eax]
add ecx, 8
add eax, ecx
mov ecx, dword [esp + 0x80]
mov dword [ecx], eax
mov ecx, dword [esp + 0x5c]
mov dword [ecx], eax
jmp 0x10079e68
cmp bl, 0xbb
jne 0x10079aa5
cmp dword [esp + 0x54], 1
jne 0x10079aa5
mov byte [esp + 0x13], 1
jmp 0x10079e64
movzx eax, byte [edi]
imul ax, word [esp + 0x6c]
movzx ecx, byte [edi + 1]
add cx, ax
movzx eax, cx
mov ecx, 0x8d15
cmp ax, cx
jne 0x10079b0c
test dl, dl
je 0x10079b0c
mov ecx, dword [esp + 0x3c]
lea eax, [esi + 2]
cmp eax, ecx
ja 0x10079af5
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov eax, dword [eax + esi + 2]
cmp eax, ecx
ja 0x10079af5
cmp eax, 0x470
je 0x10079e64
cmp eax, 0x490
je 0x10079e64
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.100b37df
mov esp, ebp
pop ebp
ret
movzx eax, byte [edi]
imul ax, word [esp + 0x6c]
movzx ecx, byte [edi + 1]
add cx, ax
movzx eax, cx
mov ecx, 0x89f5
cmp ax, cx
jne 0x10079b33
mov byte [esp + 0x22], 1
jmp 0x10079e64
mov dh, byte [esp + 0x1b]
mov bh, byte [esp + 0x13]
cmp bl, 0xeb
jne 0x10079b83
cmp byte [esp + 0x22], 0
je 0x10079b83
test dh, dh
je 0x10079b83
test dl, dl
je 0x10079b83
test bh, bh
je 0x10079b83
mov eax, dword [esp + 0x34]
movzx eax, byte [esi + eax + 1]
test al, al
js 0x10079af5
add esi, 2
add esi, eax
cmp esi, dword [esp + 0x3c]
ja 0x10079af5
push esi
lea ecx, [esp + 0x8c]
call fcn.1001d110
mov ebx, dword [esp + 0x14]
xor eax, eax
jmp 0x10079e6c
cmp bl, 0x50
jb 0x10079b9f
cmp bl, 0x58
ja 0x10079b9f
mov eax, dword [esp + 0x60]
inc eax
mov dword [esp + 0x60], eax
cmp eax, 4
ja 0x10079af5
cmp bl, 0x59
jb 0x10079bbb
cmp bl, 0x5f
ja 0x10079bbb
mov eax, dword [esp + 0x74]
inc eax
mov dword [esp + 0x74], eax
cmp eax, 2
ja 0x10079af5
movzx ecx, byte [edi]
mov eax, 0x100
imul cx, ax
movzx eax, byte [edi + 1]
add cx, ax
movzx eax, cx
mov ecx, 0x8d99
cmp ax, cx
jne 0x10079c0b
cmp byte [esp + 0x22], 0
je 0x10079c0b
test dh, dh
je 0x10079c0b
test dl, dl
je 0x10079c0b
test bh, bh
je 0x10079c0b
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x70]
mov byte [esp + 0x26], 1
mov eax, dword [eax]
mov eax, dword [eax + esi + 2]
sub eax, 4
add dword [ecx], eax
jmp 0x10079e64
movzx eax, byte [edi]
mov edx, 0x100
movzx ecx, byte [edi + 1]
imul ax, dx
add cx, ax
movzx eax, cx
mov ecx, 0x8d7d
cmp ax, cx
jne 0x10079c4e
cmp byte [esp + 0x26], 0
je 0x10079c4e
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x84]
mov byte [esp + 0x27], 1
movzx eax, byte [esi + eax + 2]
mov dword [ecx], eax
jmp 0x10079e64
cmp bl, 0xe8
jne 0x10079c9c
mov eax, dword [esp + 0x48]
inc eax
mov dword [esp + 0x48], eax
cmp eax, 2
ja 0x10079af5
cmp bl, bl
jne 0x10079c9c
cmp byte [esp + 0x27], 0
je 0x10079c9c
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x88]
mov eax, dword [eax]
mov eax, dword [eax + esi + 1]
add esi, 5
add esi, eax
push esi
call fcn.1001d110
mov ebx, dword [esp + 0x14]
xor eax, eax
mov byte [esp + 0x33], 1
jmp 0x10079e6c
cmp byte [esp + 0x33], 0
je 0x10079cdb
cmp byte [esp + 0x24], 0
je 0x10079ce2
lea eax, [esp + 0x104]
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x40]
mov eax, dword [esp + 0x2c]
push 0xf
mov eax, dword [eax]
add eax, esi
push eax
call fcn.1001cbe0
test al, al
je 0x10079af5
mov byte [esp + 0x24], 0
jmp 0x10079e64
cmp byte [esp + 0x24], 0
jne 0x10079d16
mov ecx, edi
call fcn.1001ca50
cmp eax, 0xfb6840d
jne 0x10079d11
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x58]
mov byte [esp + 0x29], 1
mov eax, dword [eax]
mov eax, dword [eax + esi + 4]
inc eax
mov dword [ecx], eax
mov ecx, dword [esp + 0x5c]
add dword [ecx], eax
jmp 0x10079e64
mov edx, 0x100
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
imul cx, dx
add cx, ax
movzx eax, cx
mov ecx, 0x8884
cmp ax, cx
jne 0x10079d6a
cmp byte [esp + 0x29], 0
je 0x10079d6a
lea eax, [esi + 3]
cmp eax, dword [esp + 0x3c]
ja 0x10079af5
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov ecx, dword [eax + esi + 3]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x4c], ecx
mov eax, dword [eax]
sub eax, ecx
dec eax
cmp eax, 0x10
jne 0x10079af5
jmp 0x10079e64
cmp bl, 0xe2
jne 0x10079dae
lea eax, [esi + 1]
cmp eax, dword [esp + 0x3c]
ja 0x10079af5
mov eax, dword [esp + 0x34]
mov al, byte [esi + eax + 1]
cmp al, 0xec
je 0x10079d90
cmp al, 0xf3
jne 0x10079af5
mov ecx, dword [esp + 0x38]
mov eax, ecx
inc ecx
mov byte [esp + 0x25], 1
mov dword [esp + 0x38], ecx
cmp eax, 2
ja 0x10079af5
jmp 0x10079e64
movzx eax, byte [edi]
movzx ecx, byte [edi + 1]
imul ax, dx
add cx, ax
movzx eax, cx
mov ecx, 0x8a84
cmp ax, cx
jne 0x10079df2
cmp byte [esp + 0x25], 0
je 0x10079df2
cmp dword [esp + 0x38], 1
jne 0x10079df2
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
mov eax, dword [eax]
cmp ecx, dword [eax + esi + 3]
jne 0x10079af5
mov byte [esp + 0x28], 1
jmp 0x10079e64
cmp byte [esp + 0x28], 0
je 0x10079e42
movzx eax, byte [edi]
movzx ecx, byte [edi + 1]
imul ax, dx
add cx, ax
movzx eax, cx
mov ecx, 0x83c3
cmp ax, cx
jne 0x10079e42
lea eax, [esp + 0xec]
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x40]
mov eax, dword [esp + 0x2c]
push 0xb
mov eax, dword [eax]
add eax, esi
push eax
call fcn.1001cbe0
test al, al
je 0x10079af5
mov byte [esp + 0x2a], 1
jmp 0x10079e64
cmp byte [esp + 0x2a], 0
je 0x10079e64
movzx eax, byte [edi]
movzx ecx, byte [edi + 1]
imul ax, dx
add cx, ax
movzx eax, cx
mov ecx, 0x75c6
cmp ax, cx
je 0x10079e98
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
add esi, eax
lea eax, [ebx + 0x80]
cmp esi, eax
jb 0x100799a0
mov al, byte [esp + 0x2b]
movzx eax, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.100b37df
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x34]
mov al, byte [esi + edx + 1]
test al, al
jns 0x10079af5
movzx ecx, al
mov eax, 1
not ecx
and ecx, 0xff
sub eax, ecx
add esi, eax
mov al, byte [esi + edx]
cmp al, 0x50
jb 0x10079af5
cmp al, 0x58
ja 0x10079af5
lea ecx, [edx + 1]
add ecx, esi
call fcn.1001ca50
cmp eax, 0xb9100000
jne 0x10079af5
mov ecx, dword [esp + 0x124]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
movzx eax, al
call fcn.100b37df
mov esp, ebp
pop ebp
ret