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

Disassembly:
sub esp, 0x4c
push ebx
push ebp
mov ebp, dword [esp + 0x68]
push esi
push edi
mov edi, dword [esp + 0x60]
mov esi, dword [edi + 0xc]
mov eax, dword [edi]
xor ebx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], esi
cmp esi, ebx
jne 0x10079359
call fcn.10049580
mov esi, eax
mov dword [edi + 0xc], eax
mov dword [esp + 0x2c], esi
cmp esi, ebx
je 0x10079359
push 0x84
call fcn.10043660
add esp, 4
cmp dword [esp + 0x7c], ebx
jge 0x10079375
movzx eax, byte [ebp + 0x18]
push ebx
push eax
push 0x6e
mov eax, esi
call fcn.10043700
add esp, 0xc
mov dword [esp + 0x30], eax
cmp dword [ebp + 0x14], ebx
mov dword [esp + 0x18], ebx
jle 0x10079792
mov edi, dword [esp + 0x14]
test edi, edi
je 0x100793dc
cmp byte [edi + 0x1e], 0
je 0x10079397
xor esi, esi
jmp 0x100794c1
cmp byte [edi + 0xe2], 0
je 0x100793dc
mov ecx, 0x41
cmp cx, word [edi + 0xe0]
ja 0x100793dc
mov esi, dword [edi + 0xec]
test esi, esi
je 0x100793dc
mov edx, dword [esi]
inc dword [edi + 0xe4]
mov eax, dword [edi + 0xe4]
cmp eax, dword [edi + 0xe8]
mov dword [edi + 0xec], edx
jle 0x10079437
mov dword [edi + 0xe8], eax
jmp 0x10079437
cmp dword [0x1011c040], 0
je 0x10079418
mov eax, dword [0x1012c390]
test eax, eax
je 0x100793f8
push eax
call dword [0x1011c088]
add esp, 4
lea ebx, [esp + 0x20]
mov eax, 0x41
call fcn.10041010
mov eax, dword [0x1012c390]
test eax, eax
je 0x10079427
push eax
call dword [0x1011c090]
jmp 0x10079424
push 0x41
call dword [0x1011c058]
mov dword [esp + 0x24], eax
add esp, 4
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x1007943f
test edi, edi
je 0x10079437
mov byte [edi + 0x1e], 1
test esi, esi
je 0x100794c1
push 0x41
push 0
push esi
call fcn.100ae530
or eax, 0xffffffff
push 0
mov word [esi + 0x28], ax
lea eax, [esi + 0x40]
push 0
push eax
mov byte [esi], 0x84
mov dword [esi + 4], eax
call fcn.100ae5b0
mov ecx, dword [esi + 4]
mov byte [ecx], 0
mov ecx, dword [esp + 0x84]
add esp, 0x18
mov dword [esi + 0x38], 1
test ecx, ecx
je 0x100794b6
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0x10]
mov eax, dword [esp + 0x18]
mov eax, dword [edx + eax*4]
mov ecx, dword [ecx + 0x10]
lea edx, [eax + eax*2]
lea ecx, [ecx + edx*8]
mov edx, dword [esp + 0x78]
lea eax, [eax + edx + 1]
mov dword [esi + 0x18], eax
mov dl, byte [ecx + 0x16]
mov byte [esi + 1], dl
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0x60]
call fcn.10064bd0
mov dword [esi + 0x14], eax
jmp 0x100794c1
mov eax, dword [esp + 0x78]
mov dword [esi + 0x18], eax
mov byte [esi + 1], 0x64
mov eax, dword [esp + 0x74]
test eax, eax
je 0x100794d2
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + ecx*4]
jmp 0x100794d9
mov edx, dword [esp + 0x70]
mov eax, dword [edx + 0x24]
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
mov ecx, dword [edx + 0x10]
lea eax, [eax + eax*2]
mov ecx, dword [ecx + eax*8]
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x1007950c
cmp byte [ecx], 0
mov eax, ecx
je 0x100794fd
inc eax
cmp byte [eax], 0
jne 0x100794f7
sub eax, ecx
and eax, 0x3fffffff
mov ebx, eax
mov dword [esp + 0x24], eax
jmp 0x10079512
xor ebx, ebx
mov dword [esp + 0x24], ebx
lea ebp, [ebx + 0x41]
test edi, edi
je 0x10079568
cmp byte [edi + 0x1e], 0
je 0x10079526
xor edi, edi
jmp 0x10079631
cmp byte [edi + 0xe2], 0
je 0x10079568
movzx edx, word [edi + 0xe0]
cmp ebp, edx
jg 0x10079568
mov eax, dword [edi + 0xec]
test eax, eax
je 0x10079568
mov ecx, dword [eax]
inc dword [edi + 0xe4]
mov dword [edi + 0xec], ecx
mov ecx, dword [edi + 0xe4]
cmp ecx, dword [edi + 0xe8]
jle 0x100795c5
mov dword [edi + 0xe8], ecx
jmp 0x100795c5
lea edx, [ebp - 1]
cmp edx, 0x7ffffefe
ja 0x10079606
cmp dword [0x1011c040], 0
je 0x100795f6
mov eax, dword [0x1012c390]
test eax, eax
je 0x10079593
push eax
call dword [0x1011c088]
add esp, 4
lea ebx, [esp + 0x1c]
mov eax, ebp
call fcn.10041010
mov eax, dword [0x1012c390]
test eax, eax
je 0x100795b1
push eax
call dword [0x1011c090]
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x100795c1
test edi, edi
je 0x100795c1
mov byte [edi + 0x1e], 1
mov ebx, dword [esp + 0x24]
mov edi, eax
test edi, edi
je 0x10079631
push ebp
push 0
push edi
call fcn.100ae530
or eax, 0xffffffff
mov word [edi + 0x28], ax
lea eax, [ebx + 1]
add esp, 0xc
mov byte [edi], 0x1a
test eax, eax
jne 0x1007960e
mov ecx, 0x800
or word [edi + 2], cx
mov dword [edi + 4], eax
jmp 0x1007962a
push ebp
call dword [0x1011c058]
add esp, 4
mov dword [esp + 0x1c], eax
jmp 0x100795b1
xor eax, eax
mov dword [esp + 0x1c], eax
jmp 0x100795b9
mov edx, dword [esp + 0x34]
push ebx
lea eax, [edi + 0x40]
push edx
push eax
mov dword [edi + 4], eax
call fcn.100ae5b0
mov eax, dword [edi + 4]
add esp, 0xc
mov byte [ebx + eax], 0
mov dword [edi + 0x38], 1
mov ecx, dword [esp + 0x60]
mov ebp, dword [ecx]
test ebp, ebp
je 0x1007968d
cmp byte [ebp + 0x1e], 0
je 0x10079648
xor ebp, ebp
jmp 0x1007970d
cmp byte [ebp + 0xe2], 0
je 0x1007968d
mov edx, 0x40
cmp dx, word [ebp + 0xe0]
ja 0x1007968d
mov eax, dword [ebp + 0xec]
test eax, eax
je 0x1007968d
mov ecx, dword [eax]
inc dword [ebp + 0xe4]
mov dword [ebp + 0xec], ecx
mov ecx, dword [ebp + 0xe4]
cmp ecx, dword [ebp + 0xe8]
jle 0x100796e8
mov dword [ebp + 0xe8], ecx
jmp 0x100796e8
cmp dword [0x1011c040], 0
je 0x100796c9
mov eax, dword [0x1012c390]
test eax, eax
je 0x100796a9
push eax
call dword [0x1011c088]
add esp, 4
lea ebx, [esp + 0x28]
mov eax, 0x40
call fcn.10041010
mov eax, dword [0x1012c390]
test eax, eax
je 0x100796d8
push eax
call dword [0x1011c090]
jmp 0x100796d5
push 0x40
call dword [0x1011c058]
mov dword [esp + 0x2c], eax
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x100796e8
test ebp, ebp
je 0x100796e8
mov byte [ebp + 0x1e], 1
mov ebp, eax
test ebp, ebp
je 0x1007970d
push 0x40
push 0
push ebp
call fcn.100ae530
add esp, 0xc
or edx, 0xffffffff
mov byte [ebp], 0x4c
mov word [ebp + 0x28], dx
mov dword [ebp + 0x38], 1
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
push ecx
mov ebx, esi
mov eax, ebp
call fcn.10049e50
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x1007972d
mov dword [esp + 0x10], ebp
jmp 0x1007977c
test ebp, ebp
je 0x1007977c
mov esi, dword [esp + 0x14]
mov ecx, 0x40
call fcn.100414d0
mov esi, eax
test esi, esi
je 0x10079763
push 0x40
push 0
push esi
call fcn.100ae530
add esp, 0xc
or edx, 0xffffffff
mov byte [esi], 0x45
mov word [esi + 0x28], dx
mov dword [esi + 0x38], 1
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
push eax
mov edi, ebp
mov eax, esi
call fcn.10049e50
add esp, 4
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x70]
inc eax
cmp eax, dword [ecx + 0x14]
mov dword [esp + 0x18], eax
jl 0x10079382
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x70]
cmp edx, dword [eax]
jne 0x100798b5
cmp dword [esp + 0x7c], 0
jle 0x100798b5
mov esi, dword [esp + 0x14]
mov ecx, 0x41
call fcn.100414d0
mov ebx, eax
test ebx, ebx
je 0x100797f5
push 0x41
push 0
push ebx
call fcn.100ae530
push 0
lea eax, [ebx + 0x40]
or ecx, 0xffffffff
push 0
push eax
mov byte [ebx], 0x84
mov word [ebx + 0x28], cx
mov dword [ebx + 4], eax
call fcn.100ae5b0
mov edx, dword [ebx + 4]
mov byte [edx], 0
add esp, 0x18
mov dword [ebx + 0x38], 1
mov ecx, 0x41
call fcn.100414d0
mov edi, eax
test edi, edi
je 0x10079839
push 0x41
push 0
push edi
call fcn.100ae530
or eax, 0xffffffff
push 0
mov word [edi + 0x28], ax
lea eax, [edi + 0x40]
push 0
push eax
mov byte [edi], 0x98
mov dword [edi + 4], eax
call fcn.100ae5b0
mov ecx, dword [edi + 4]
mov byte [ecx], 0
add esp, 0x18
mov dword [edi + 0x38], 1
test ebx, ebx
je 0x1007985f
test edi, edi
je 0x1007985f
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x64]
mov dword [ebx + 0x18], edx
mov byte [ebx + 1], 0x64
mov ecx, dword [eax + 0x20]
or eax, 0xffffffff
mov dword [edi + 0x18], ecx
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov ebp, dword [esp + 0x60]
mov esi, dword [ebp]
mov ecx, 0x40
call fcn.100414d0
mov esi, eax
test esi, esi
je 0x10079894
push 0x40
push 0
push esi
call fcn.100ae530
add esp, 0xc
or edx, 0xffffffff
mov byte [esi], 0x4b
mov word [esi + 0x28], dx
mov dword [esi + 0x38], 1
mov eax, dword [ebp]
push eax
mov eax, esi
call fcn.10049e50
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add esp, 4
mov eax, esi
call fcn.10049f30
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
mov ebx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea edi, [esp + 0x38]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], esi
call fcn.1005aee0
push 0
push 0
push ebx
push ebp
push esi
call fcn.10077a20
add esp, 0x14
cmp dword [esp + 0x7c], 0
mov dword [esp + 0x60], eax
jle 0x1007992f
mov ecx, dword [esp + 0x70]
cmp byte [ecx + 0x18], 0
jne 0x1007992f
mov eax, dword [esi + 0x1a8]
test eax, eax
je 0x10079928
mov esi, eax
mov byte [esi + 0x159], 1
mov edi, dword [esp + 0x2c]
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
mov edx, dword [esp + 0x70]
movzx ebp, byte [edx + 0x18]
jg 0x1007994c
call fcn.10043580
test eax, eax
jne 0x10079977
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x7c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax], 0x6d
mov byte [eax + 3], 0
mov dword [eax + 4], ebp
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [edi + 0x6e], cl
mov eax, dword [esp + 0x60]
test eax, eax
je 0x10079988
push eax
call fcn.10046750
add esp, 4
test ebx, ebx
je 0x100799e0
mov esi, dword [esp + 0x14]
push ebx
push esi
call fcn.10044310
mov ax, word [ebx + 2]
mov ecx, 0x8000
and ax, cx
mov edx, ecx
add esp, 8
cmp ax, dx
je 0x100799e0
test esi, esi
je 0x100799d7
cmp ebx, dword [esi + 0xf0]
jb 0x100799d7
cmp ebx, dword [esi + 0xf4]
jae 0x100799d7
mov eax, dword [esi + 0xec]
mov dword [ebx], eax
dec dword [esi + 0xe4]
mov dword [esi + 0xec], ebx
jmp 0x100799e0
push ebx
call fcn.10036090
add esp, 4
mov eax, dword [esp + 0x30]
test eax, eax
je 0x100799f9
mov ecx, dword [edi + 0xc]
cmp ecx, eax
jle 0x100799f9
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x14]
mov dword [eax + edx*4 + 8], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret