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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x24], ebx
cmp eax, 0x25
jae 0x109499f
add eax, 0x10
jmp 0x1094f56
push esi
push dword [edi + 8]
push dword [edi + 4]
call fcn.010996ad
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
jne 0x10949c9
cmp dword [edi], 0xb
jne 0x10949ec
push ebx
push ebx
call fcn.01099465
mov esi, eax
mov dword [ebp - 4], eax
test esi, esi
je 0x10949ec
lea ecx, [esi + 0x32c]
lea edx, [ebp - 0x3c]
call dword [fcn.0040f008]
cmp byte [esi + 0x24], bl
je 0x10949f7
lea ecx, [ebp - 0x3c]
call dword [fcn.0040f000]
push esi
call fcn.010999c7
mov eax, dword [edi + 0xc]
add eax, 0x10
jmp 0x1094f55
mov eax, dword [edi]
cmp eax, 0xb
jne 0x1094a06
cmp byte [esi + 0x94], bl
jne 0x1094a13
cmp eax, 0xa
jne 0x1094a21
cmp byte [esi + 0x95], bl
je 0x1094a21
lea ecx, [ebp - 0x3c]
call dword [fcn.0040f000]
jmp 0x1094f4d
lea ecx, [ebp - 0x3c]
call dword [fcn.0040f000]
push ebx
call fcn.01099557
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
je 0x1094f04
mov edx, dword [ebp + 8]
lea eax, [edi + 8]
push 7
mov edi, eax
lea esi, [edx + 0x10]
pop ecx
mov dword [ebp - 0x1c], eax
rep movsd dword es:[edi], dword [esi]
mov eax, dword [edx + 0x30]
add eax, 0x24
cmp dword [edx + 0xc], eax
jb 0x1094efe
mov eax, dword [ebp - 0xc]
add eax, 0x24
push 0xf
pop ecx
lea esi, [edx + 0x34]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
mov ecx, dword [edi + 0x3c]
push 0x60
pop edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
test ecx, ecx
je 0x1094acd
mov eax, dword [esi + 0x30]
sub eax, 0x3c
cmp ecx, eax
ja 0x1094ef9
push 0x44554c46
push ecx
push dword [0x410668]
call dword [0x40f120]
mov ecx, eax
mov dword [edi + 0x60], ecx
test ecx, ecx
je 0x1094ef9
push dword [edi + 0x3c]
lea eax, [esi + 0x70]
push eax
push ecx
call fcn.0109a4bd
add esp, 0xc
push 0x60
pop edx
add edx, dword [edi + 0x3c]
mov dword [ebp - 0x28], edx
jmp 0x1094ad0
mov dword [edi + 0x60], ebx
mov ax, word [esi + 0xc]
sub ax, dx
movzx eax, ax
mov dword [ebp - 0x10], eax
test ax, ax
je 0x1094ef9
movzx eax, ax
push 0x410b90
mov dword [edi + 0x68], eax
call fcn.01091e7d
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1094ef9
mov ecx, dword [ebp - 0x10]
movzx eax, cx
push 0x43554c46
push eax
push dword [0x410668]
call dword [0x40f120]
mov edx, eax
mov dword [ebp - 0x20], edx
test edx, edx
je 0x1094ef9
mov ecx, dword [ebp - 0x10]
movzx eax, cx
mov ecx, dword [ebp - 0x28]
add ecx, 0x10
push eax
add ecx, esi
push ecx
push edx
call fcn.0109a4bd
mov ecx, dword [ebp - 0x10]
add esp, 0xc
movzx eax, cx
push ebx
push ebx
push ebx
push eax
mov eax, dword [ebp - 0x20]
push eax
call dword [0x40f128]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1094ef9
push eax
call dword [0x40f07c]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
movzx eax, cx
push eax
push ebx
push dword [ebp - 0x18]
push ebx
push ebx
push dword [0x410694]
call dword [0x410fcc]
test eax, eax
js 0x1094ef9
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 4]
mov dword [ecx], eax
mov eax, dword [esi + 8]
mov dword [ecx + 4], eax
mov eax, dword [esi]
mov esi, dword [ebp - 4]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x18]
push esi
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], edi
call fcn.01099433
lea edx, [ebp - 0x3c]
lea ecx, [esi + 0x32c]
call dword [fcn.0040f008]
mov eax, dword [ebp + 8]
cmp dword [eax], 0xb
mov eax, dword [edi + 0x68]
jne 0x1094bf0
add dword [esi + 0x8c], eax
cmp dword [esi + 0x8c], 0x800000
jbe 0x1094c09
mov byte [esi + 0x94], 1
jmp 0x1094c09
add dword [esi + 0x90], eax
cmp dword [esi + 0x90], 0x800000
jbe 0x1094c09
mov byte [esi + 0x95], 1
lea ecx, [ebp - 0x3c]
call dword [fcn.0040f000]
mov eax, dword [ebp + 8]
push ebx
cmp dword [eax], 0xb
push 1
push ebx
push 8
push dword [ebp - 0x30]
jne 0x1094da7
lea ecx, [edi + 0x6c]
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x28], ecx
stosd dword es:[edi], eax
call dword [0x40f010]
mov edx, eax
test edx, edx
je 0x1094f01
mov ecx, dword [esi + 0x18]
or ecx, dword [esi + 0x1c]
jne 0x1094c72
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 4]
mov ax, word [eax]
mov word [esi + 0x30], ax
push 0x11
pop eax
mov word [esi + 0x6a], ax
mov esi, dword [ebp - 0xc]
add esi, 0x44
push 7
add edi, 0x32
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 0x1c]
push 2
pop eax
cmp word [esi + 0x30], ax
mov ax, word [edi + 2]
mov word [edx + 2], ax
mov eax, dword [ebp - 0x10]
movzx ecx, al
movzx eax, ah
jne 0x1094cb3
shl cx, 8
or cx, ax
xor eax, eax
mov word [edx + 6], ax
lea eax, [edi + 4]
mov edi, dword [ebp - 0xc]
mov word [edx + 4], cx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov dword [ecx], eax
lea eax, [edi + 0x48]
jmp 0x1094cd5
shl cx, 8
or cx, ax
xor eax, eax
mov word [edx + 6], ax
lea eax, [edi + 8]
mov edi, dword [ebp - 0xc]
mov word [edx + 4], cx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov dword [ecx], eax
lea eax, [edi + 0x4c]
mov ecx, dword [edi + 0x60]
mov edx, dword [edi + 0x3c]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x30]
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], ecx
mov dword [edi + 0x78], edx
cmp byte [0x410676], bl
jne 0x1094d28
mov eax, dword [esi + 0x18]
or eax, dword [esi + 0x1c]
je 0x1094d28
mov eax, dword [ebp - 0x14]
push eax
movzx eax, word [esi + 0x30]
push 0x409120
push dword [ebp - 8]
push dword [edi + 0x24]
push eax
lea eax, [edi + 0x6c]
push eax
push ebx
push dword [edi + 0x2c]
push dword [edi + 0x28]
push ebx
push dword [0x41067c]
call dword [0x410fe0]
jmp 0x1094d86
push dword [edi + 0x38]
movzx eax, word [esi + 0x6a]
push dword [edi + 0x34]
push ebx
push ebx
push edx
push ecx
push ebx
push ebx
push eax
push dword [ebp - 0x1c]
movzx eax, word [esi + 0x30]
push dword [ebp - 0x28]
push eax
push ebx
push dword [ebp - 8]
call dword [0x410fd4]
test eax, eax
js 0x1094f04
push 2
pop eax
cmp word [esi + 0x30], ax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x2c]
push 0x409120
push dword [ebp - 8]
push dword [eax]
push ebx
push ebx
jne 0x1094d7a
push dword [0x410680]
jmp 0x1094d80
push dword [0x410684]
call dword [0x410fd8]
mov edi, eax
test edi, edi
js 0x1094d9e
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov eax, dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 8], ebx
push ebx
push ebx
push 0xd
jmp 0x1094e86
call dword [0x40f010]
mov edx, eax
test edx, edx
je 0x1094f04
cmp word [esi + 0x30], 2
jne 0x1094de7
mov cx, word [edi + 0xa]
mov eax, dword [ebp - 0x10]
mov word [edx], cx
movzx ecx, al
movzx eax, ah
shl cx, 8
or cx, ax
xor eax, eax
mov word [edx + 4], cx
mov word [edx + 6], ax
lea ecx, [edi + 0xc]
lea eax, [edi + 0x48]
jmp 0x1094e0e
mov ax, word [edi + 0xa]
mov word [edx], ax
mov eax, dword [ebp - 0x10]
movzx ecx, al
movzx eax, ah
shl cx, 8
or cx, ax
xor eax, eax
mov word [edx + 4], cx
mov word [edx + 6], ax
lea ecx, [edi + 0x10]
lea eax, [edi + 0x4c]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x30], eax
mov ax, word [edi + 0x46]
push ebx
mov word [edx + 2], ax
movzx eax, word [esi + 0x6a]
push ebx
push eax
push dword [ebp - 0x30]
movzx eax, word [esi + 0x30]
push ecx
push eax
push ebx
push dword [ebp - 8]
call dword [0x410fd4]
test eax, eax
js 0x1094f04
mov eax, dword [ebp - 0x14]
push eax
movzx eax, word [esi + 0x30]
push 0x409120
push dword [ebp - 8]
push dword [edi + 0x38]
push dword [edi + 0x34]
push dword [edi + 0x24]
push eax
push ebx
push ebx
push ebx
push dword [0x41067c]
call dword [0x410fe4]
mov edi, eax
test edi, edi
js 0x1094e82
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov eax, dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 8], ebx
push ebx
push ebx
push 0xc
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.0109523d
test edi, edi
jns 0x1094f4a
lea edx, [ebp - 0x3c]
lea ecx, [esi + 0x32c]
call dword [fcn.0040f008]
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0xc]
cmp dword [eax], 0xb
mov eax, dword [edi + 0x68]
jne 0x1094ed0
sub dword [esi + 0x8c], eax
cmp dword [esi + 0x8c], 0x800000
ja 0x1094ee8
mov byte [esi + 0x94], bl
jmp 0x1094ee8
sub dword [esi + 0x90], eax
cmp dword [esi + 0x90], 0x800000
ja 0x1094ee8
mov byte [esi + 0x95], bl
lea ecx, [ebp - 0x3c]
call dword [fcn.0040f000]
push esi
call fcn.010999c7
jmp 0x1094f04
mov esi, dword [ebp - 4]
jmp 0x1094f04
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
cmp dword [ebp - 8], ebx
je 0x1094f11
push dword [ebp - 8]
call fcn.0109a2d1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1094f1f
push eax
call dword [0x40f0b0]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1094f2e
push ebx
push eax
call dword [fcn.0040f068]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1094f40
push eax
push 0x410b90
call fcn.01091eaf
test edi, edi
je 0x1094f4a
push edi
call fcn.010997a3
mov ebx, dword [ebp - 0x24]
push esi
call fcn.010999c7
mov eax, ebx
pop esi
pop edi
pop ebx
leave
ret 4