Function at 0x10342e7
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 0x1034315
add eax, 0x10
jmp 0x10348cc
push esi
push dword [edi + 8]
push dword [edi + 4]
call fcn.01039023
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
jne 0x103433f
cmp dword [edi], 0xb
jne 0x1034362
push ebx
push ebx
call fcn.01038ddb
mov esi, eax
mov dword [ebp - 4], eax
test esi, esi
je 0x1034362
lea ecx, [esi + 0x32c]
lea edx, [ebp - 0x3c]
call dword [fcn.0040f008]
cmp byte [esi + 0x24], bl
je 0x103436d
lea ecx, [ebp - 0x3c]
call dword [fcn.0040f000]
push esi
call fcn.0103933d
mov eax, dword [edi + 0xc]
add eax, 0x10
jmp 0x10348cb
mov eax, dword [edi]
cmp eax, 0xb
jne 0x103437c
cmp byte [esi + 0x94], bl
jne 0x1034389
cmp eax, 0xa
jne 0x1034397
cmp byte [esi + 0x95], bl
je 0x1034397
lea ecx, [ebp - 0x3c]
call dword [fcn.0040f000]
jmp 0x10348c3
lea ecx, [ebp - 0x3c]
call dword [fcn.0040f000]
push ebx
call fcn.01038ecd
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
je 0x103487a
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 0x1034874
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 0x1034443
mov eax, dword [esi + 0x30]
sub eax, 0x3c
cmp ecx, eax
ja 0x103486f
push 0x44554c46
push ecx
push dword [0x410668]
call dword [0x40f120]
mov ecx, eax
mov dword [edi + 0x60], ecx
test ecx, ecx
je 0x103486f
push dword [edi + 0x3c]
lea eax, [esi + 0x70]
push eax
push ecx
call fcn.01039e33
add esp, 0xc
push 0x60
pop edx
add edx, dword [edi + 0x3c]
mov dword [ebp - 0x28], edx
jmp 0x1034446
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 0x103486f
movzx eax, ax
push 0x410b90
mov dword [edi + 0x68], eax
call fcn.010317f3
mov dword [ebp - 0x14], eax
test eax, eax
je 0x103486f
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 0x103486f
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.01039e33
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 0x103486f
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 0x103486f
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.01038da9
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 0x1034566
add dword [esi + 0x8c], eax
cmp dword [esi + 0x8c], 0x800000
jbe 0x103457f
mov byte [esi + 0x94], 1
jmp 0x103457f
add dword [esi + 0x90], eax
cmp dword [esi + 0x90], 0x800000
jbe 0x103457f
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 0x103471d
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 0x1034877
mov ecx, dword [esi + 0x18]
or ecx, dword [esi + 0x1c]
jne 0x10345e8
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 0x1034629
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 0x103464b
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 0x103469e
mov eax, dword [esi + 0x18]
or eax, dword [esi + 0x1c]
je 0x103469e
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 0x10346fc
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 0x103487a
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 0x10346f0
push dword [0x410680]
jmp 0x10346f6
push dword [0x410684]
call dword [0x410fd8]
mov edi, eax
test edi, edi
js 0x1034714
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 0x10347fc
call dword [0x40f010]
mov edx, eax
test edx, edx
je 0x103487a
cmp word [esi + 0x30], 2
jne 0x103475d
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 0x1034784
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 0x103487a
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 0x10347f8
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.01034bb3
test edi, edi
jns 0x10348c0
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 0x1034846
sub dword [esi + 0x8c], eax
cmp dword [esi + 0x8c], 0x800000
ja 0x103485e
mov byte [esi + 0x94], bl
jmp 0x103485e
sub dword [esi + 0x90], eax
cmp dword [esi + 0x90], 0x800000
ja 0x103485e
mov byte [esi + 0x95], bl
lea ecx, [ebp - 0x3c]
call dword [fcn.0040f000]
push esi
call fcn.0103933d
jmp 0x103487a
mov esi, dword [ebp - 4]
jmp 0x103487a
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
cmp dword [ebp - 8], ebx
je 0x1034887
push dword [ebp - 8]
call fcn.01039c47
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1034895
push eax
call dword [0x40f0b0]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10348a4
push ebx
push eax
call dword [fcn.0040f068]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10348b6
push eax
push 0x410b90
call fcn.01031825
test edi, edi
je 0x10348c0
push edi
call fcn.01039119
mov ebx, dword [ebp - 0x24]
push esi
call fcn.0103933d
mov eax, ebx
pop esi
pop edi
pop ebx
leave
ret 4