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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x164
mov eax, dword [0x4ea5e0]
xor eax, esp
mov dword [esp + 0x160], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1c]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x1c], edx
xor esi, esi
lea edx, [eax + edi]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x50], edx
cmp eax, edx
jge 0x43479a
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x18]
add ebx, edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x2c], edx
cmp edx, dword [esp + 0x48]
jge 0x434784
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x24], edi
jmp 0x4345f4
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov ebx, 0x10
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ebx
cmp edi, ebx
jge 0x43460d
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x38]
cmp edi, ebx
jge 0x43461b
mov dword [esp + 0x28], edi
mov ebx, edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x5c], eax
add eax, ebx
mov dword [esp + 0x64], eax
lea eax, [esp + 0x58]
push eax
add edi, edx
lea eax, [esp + 0x6c]
mov dword [esp + 0x5c], edx
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
push eax
mov eax, dword [esp + 0x48]
push eax
mov dword [esp + 0x6c], edi
call edx
imul ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x12]
push ecx
lea edx, [esp + 0x17]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x50]
add edi, esi
push ecx
inc esi
mov eax, ebx
lea ecx, [esp + 0x78]
mov byte [edi], 0
mov dword [esp + 0x64], esi
call fcn.00434990
mov al, byte [esp + 0x23]
add esp, 0x10
cmp dword [esp + 0x34], 0
je 0x43468f
cmp al, byte [esp + 0x3c]
je 0x4346a8
or byte [edi], 2
mov edx, dword [esp + 0x1c]
mov byte [edx + esi], al
mov dword [esp + 0x34], 1
mov byte [esp + 0x3c], al
inc esi
jmp 0x4346ac
mov edx, dword [esp + 0x1c]
cmp dword [esp + 0x4c], 0
jne 0x43475f
or byte [edi], 8
cmp dword [esp + 0x44], 0
mov al, byte [edi]
je 0x4346ea
cmp dword [esp + 0x18], 0
mov cl, byte [esp + 0x12]
je 0x4346d4
cmp cl, byte [esp + 0x11]
je 0x4346f6
or al, 4
mov byte [edi], al
mov byte [edx + esi], cl
mov dword [esp + 0x18], 1
mov byte [esp + 0x11], cl
inc esi
jmp 0x4346f6
or al, 0x10
mov dword [esp + 0x18], 0
mov byte [edi], al
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
add edx, esi
push edx
lea ecx, [esp + 0x7c]
call fcn.004347c0
add esp, 0x14
add esi, eax
test eax, eax
jne 0x43475f
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x48]
mov byte [edi], 1
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
push eax
call edx
mov ecx, dword [esp + 0x1c]
push ebx
lea eax, [esp + 0x6c]
push eax
add ecx, esi
push ecx
call fcn.004b29a0
add esp, 0xc
add esi, ebx
mov eax, dword [esp + 0x2c]
sub dword [esp + 0x24], 0x10
mov ecx, dword [esp + 0x20]
add eax, 0x10
cmp eax, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
jl 0x4345f0
mov edx, dword [ebp + 0x10]
sub dword [esp + 0x38], 0x10
add eax, 0x10
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x50]
jl 0x4345d2
mov ecx, dword [esp + 0x16c]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.004a8a2f
mov esp, ebp
pop ebp
ret 0x18