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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x101e3070]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x24], edx
push edi
mov dword [esp + 0x24], 0
mov edi, dword [esi]
movsx edx, byte [esi + 0x44]
mov dword [esp + 0x20], edx
mov eax, dword [edi + 4]
mov ebx, dword [esi + edx*4 + 0x78]
mov dword [esp + 0x14], eax
lea eax, [esi + 0x50]
movzx ecx, word [eax + edx*2]
lea eax, [eax + edx*2]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x40]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [ebx + 0x14]
movzx ecx, cx
and ecx, eax
add ecx, dword [ebx + 0x38]
cmp byte [ebx + 4], 0
mov dword [esp + 0x10], ecx
jne 0x10034a1a
and byte [esi + 0x40], 0xf1
xor eax, eax
cmp byte [esi + 0x42], 1
mov dword [esp + 0x38], 0
mov word [esi + 0x22], ax
jne 0x10034a07
movzx ecx, word [esi + edx*2 + 0x50]
test cx, cx
je 0x10034a07
mov eax, dword [esi + edx*4 + 0x78]
cmp byte [eax + 4], 0
je 0x10034a07
lea eax, [ecx - 1]
mov word [esi + edx*2 + 0x50], ax
jmp 0x10034a1a
lea edx, [esp + 0x38]
mov ecx, esi
call fcn.10031750
test eax, eax
jne 0x10034d2b
test byte [esi + 0x40], 0x20
je 0x10034a38
mov edx, dword [esi + 0x34]
mov ecx, dword [esp + 0x14]
push esi
call fcn.1002ce90
add esp, 4
test eax, eax
jne 0x10034d2b
cmp dword [esi + 0x48], 0
jne 0x10034a77
cmp byte [edi + 0xb], 0
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
je 0x10034a77
mov eax, dword [edi + 4]
mov byte [edi + 0xb], 0
mov eax, dword [eax + 8]
test eax, eax
je 0x10034a77
test byte [eax + 0x40], 0x10
je 0x10034a70
mov byte [edi + 0xb], 1
cmp dword [eax + 0x10], ecx
jne 0x10034a70
cmp dword [eax + 0x14], edx
jne 0x10034a70
mov byte [eax + 0x42], 0
mov eax, dword [eax + 8]
test eax, eax
jne 0x10034a58
cmp dword [esp + 0x28], 0
je 0x10034ac3
cmp byte [ebx + 4], 0
je 0x10034b7c
push dword [esp + 0x10]
push ebx
call fcn.1002d630
movzx edi, word [ebx + 0x10]
add esp, 8
movzx ecx, ax
add edi, 2
mov eax, dword [esp + 0x14]
add edi, ecx
mov ecx, dword [eax + 0x24]
mov eax, 0xaaaaaaab
add ecx, ecx
mul ecx
shr edx, 1
cmp edi, edx
jg 0x10034b7c
mov dword [esp + 0x24], 1
mov ecx, dword [ebx + 0x48]
call fcn.100296c0
test eax, eax
jne 0x10034d2b
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x38]
push eax
mov ecx, ebx
call fcn.10032130
mov edx, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x10], eax
mov ecx, ebx
lea eax, [esp + 0x10]
push eax
movzx eax, word [esp + 0x3c]
push eax
call fcn.100325e0
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
jne 0x10034d2b
cmp byte [ebx + 4], al
jne 0x10034c73
movsx eax, byte [esi + 0x44]
mov ebx, dword [esi + eax*4 + 0x78]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], ebx
movzx ecx, word [ebx + 0x12]
mov eax, dword [esi + eax*4 + 0x7c]
mov edx, dword [ebx + 0x38]
mov eax, dword [eax + 0x54]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x40]
mov ax, word [eax + ecx*2 - 2]
mov ch, al
mov cl, ah
movzx eax, word [ebx + 0x14]
movzx ecx, cx
and ecx, eax
lea eax, [edx + 4]
add ecx, edx
mov dword [esp + 0x30], ecx
cmp ecx, eax
jae 0x10034c03
mov ecx, 0xf84b
call fcn.1008ebc0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.10030880
cmp byte [esi + 0x45], 0
mov eax, dword [esi + 0x10]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x2c], eax
jne 0x10034ac3
push eax
push dword [esi + 0x28]
call fcn.1001b8d0
mov edi, eax
add esp, 8
test edi, edi
je 0x10034bec
push 0
push edi
push dword [esi + 0x28]
xor edx, edx
mov ecx, esi
call fcn.10030a70
add esp, 0xc
mov dword [esp + 0x38], eax
test eax, eax
jne 0x10034bcd
mov dword [esi + 0x30], edi
jmp 0x10034ac3
push edi
call fcn.1001bbf0
mov eax, dword [esp + 0x3c]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret
mov eax, 7
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x4c]
push ecx
push ebx
call eax
mov ecx, dword [esp + 0x40]
movzx ebx, ax
mov eax, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x48]
mov edi, dword [eax + 0x50]
call fcn.100296c0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x38]
lea eax, [ebx + 4]
push edi
push eax
mov eax, dword [esp + 0x48]
add eax, 0xfffffffc
push eax
call fcn.10032710
add esp, 0x1c
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x3c]
mov ecx, eax
push ebx
movzx edx, word [eax + 0x12]
dec edx
call fcn.100325e0
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
jne 0x10034d2b
mov ebx, dword [esp + 0x1c]
mov ecx, esi
call fcn.10034560
mov edx, eax
test edx, edx
jne 0x10034d29
movsx ecx, byte [esi + 0x44]
mov edi, dword [esp + 0x20]
cmp ecx, edi
jle 0x10034cbd
mov dl, byte [esi + 0x44]
movsx eax, dl
dec dl
mov ecx, dword [esi + eax*4 + 0x78]
mov byte [esi + 0x44], dl
test ecx, ecx
je 0x10034ca8
call fcn.1002e4c0
movsx eax, byte [esi + 0x44]
cmp eax, edi
jg 0x10034c90
mov ecx, esi
call fcn.10034560
mov edx, eax
test edx, edx
jne 0x10034d29
cmp dword [esp + 0x24], 0
je 0x10034d15
mov byte [esi + 0x42], 2
movzx eax, word [ebx + 0x12]
cmp dword [esp + 0x18], eax
jb 0x10034cfa
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x3c], 0xffffffff
mov ax, word [ebx + 0x12]
dec ax
mov word [ecx], ax
mov eax, edx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x3c], 1
mov eax, edx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.10030e20
cmp dword [esp + 0x28], 0
mov edx, eax
je 0x10034d29
mov byte [esi + 0x42], 3
mov eax, edx
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret