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

Disassembly:
sub esp, 0x30
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
push ebx
add eax, edx
push ebp
push esi
cmp edx, eax
push edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0xfffffff5
je 0x434a3c
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x24], ecx
mov ax, word [edx]
test ax, ax
je 0x434a3c
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
mov ecx, dword [ecx]
cmp ecx, edi
jne 0x4349bd
mov esi, dword [ebx]
mov ebp, dword [esp + 0x58]
cmp esi, ebp
je 0x434a3c
mov bp, word [ebx]
cmp ecx, edi
mov dword [esp + 0x2c], ebp
lea esi, [ebp + 0x1000]
mov dword [esp + 0x20], esi
jne 0x4349e0
mov edi, dword [esp + 0x58]
and esi, 0xffff
cmp esi, edi
jg 0x434a44
mov edi, dword [esp + 0x28]
lea esi, [edx + 6]
cmp esi, edi
ja 0x434a44
mov esi, eax
and esi, 0xfff
lea esi, [esi + edx + 3]
cmp esi, edi
mov dword [esp + 0x3c], esi
ja 0x434a44
mov edi, dword [esp + 0x44]
mov ecx, dword [edi + ecx*4]
test ecx, ecx
jne 0x434aae
mov eax, dword [ebx]
mov dword [esp + 0x68], esi
and eax, 0xfff
mov dword [ebx], eax
jne 0x434a2e
mov eax, dword [esp + 0x4c]
mov edx, dword [eax]
inc edx
mov dword [eax], edx
mov edx, dword [esp + 0x54]
cmp dword [eax], edx
jg 0x434a44
mov edx, dword [esp + 0x68]
cmp edx, dword [esp + 0x28]
jne 0x434995
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x434aa2
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x50], eax
mov esi, dword [edi]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x6c]
push ebx
push ebp
push edx
mov edx, dword [ecx + esi*4]
push eax
push edx
call fcn.004348c0
mov eax, dword [esp + 0x70]
add esp, 0x14
cmp esi, eax
jne 0x434a89
mov eax, dword [esp + 0x60]
mov byte [eax], 1
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
add edi, 4
dec eax
mov dword [ecx + esi*4], 0
mov dword [esp + 0x50], eax
jne 0x434a5c
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov edi, dword [ecx]
and ebp, 0xffff
add ebp, edi
test ah, 0x80
jne 0x434af3
add edx, 2
sub esi, edx
cmp esi, 0x1000
jne 0x434a44
mov ecx, 0x400
mov esi, edx
mov edi, ebp
add edx, 0x1000
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx]
and eax, 0xfff
mov dword [ebx], eax
jne 0x434a32
jmp 0x434cc4
add edx, 2
lea edi, [ebp + 0x1000]
cmp edx, esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x38], edi
je 0x434c8d
cmp edx, esi
ja 0x434a44
cmp ebp, edi
ja 0x434a44
mov al, byte [edx]
inc edx
mov byte [esp + 0x64], al
mov dword [esp + 0x68], edx
mov dword [esp + 0x1c], 0
cmp edx, esi
jae 0x434c87
cmp ebp, edi
ja 0x434c85
test byte [esp + 0x64], 1
jne 0x434b5b
mov cl, byte [edx]
mov byte [ebp], cl
mov eax, dword [ebx]
inc ebp
inc edx
inc eax
mov dword [esp + 0x68], edx
mov dword [ebx], eax
jmp 0x434c69
cmp ebp, dword [esp + 0x18]
je 0x434a44
mov eax, dword [esp + 0x50]
xor ebx, ebx
mov cx, word [eax]
sub cx, word [esp + 0x2c]
dec ecx
mov ax, cx
mov dword [esp + 0x30], ecx
cmp ax, 0x10
jb 0x434b8b
shr ax, 1
inc ebx
cmp ax, 0x10
jae 0x434b81
mov si, word [edx]
and ebx, 0xffff
mov cl, 0xc
mov eax, esi
sub cl, bl
and eax, 0xffff
shr eax, cl
mov edx, ebp
sub edx, eax
mov eax, dword [esp + 0x18]
dec edx
cmp edx, eax
jb 0x434a44
mov eax, 0xfff
mov ecx, ebx
sar eax, cl
mov ecx, dword [esp + 0x50]
and eax, esi
mov esi, dword [ecx]
add eax, 3
mov ebx, eax
and ebx, 0xffff
add esi, ebx
mov dword [ecx], esi
mov ecx, esi
mov esi, dword [esp + 0x20]
and esi, 0xffff
cmp ecx, esi
jg 0x434a44
mov ecx, ebp
sub ecx, edx
cmp ax, cx
mov dword [esp + 0x34], ecx
ja 0x434c0b
mov ecx, ebx
mov esi, edx
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
add ebp, ebx
rep movsb byte es:[edi], byte [esi]
jmp 0x434c50
and ecx, 0xffff
mov esi, edx
mov dword [esp + 0x30], ecx
mov ebx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
mov ebx, dword [esp + 0x34]
sub eax, ebx
add ebp, ecx
add edx, ecx
mov cx, ax
add eax, 0xffff
test cx, cx
je 0x434c50
and eax, 0xffff
inc eax
mov cl, byte [edx]
mov byte [ebp], cl
inc ebp
inc edx
dec eax
jne 0x434c46
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x50]
add eax, 2
mov dword [esp + 0x68], eax
mov edx, eax
mov eax, dword [esp + 0x1c]
mov cl, byte [esp + 0x64]
inc eax
shr cl, 1
cmp eax, 8
mov dword [esp + 0x1c], eax
mov byte [esp + 0x64], cl
jl 0x434b2f
cmp edx, esi
jne 0x434b0e
cmp ebp, edi
jae 0x434cb5
mov esi, dword [esp + 0x20]
mov eax, dword [ebx]
and esi, 0xffff
mov edi, ebp
sub esi, eax
xor eax, eax
mov ecx, esi
mov ebp, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
rep stosb byte es:[edi], al
add dword [ebx], esi
mov eax, dword [ebx]
and eax, 0xfff
mov dword [ebx], eax
jne 0x434a32
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x14]
add ecx, 4
mov esi, dword [eax]
inc ebp
mov dword [ecx - 4], esi
mov edi, dword [eax]
inc edi
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x54]
mov esi, edi
cmp esi, ecx
mov dword [esp + 0x14], ebp
mov dword [eax], edi
jg 0x434a44
jmp 0x434a32