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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1754
call fcn.004779b0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov eax, dword [esi + 0x3e0]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x228]
test eax, eax
push edi
jne 0x434725
mov ecx, dword [ebx + 0x78]
mov dword [esp + 0x24], ecx
jmp 0x43472f
mov edx, dword [ebx + 0x1c0]
mov dword [esp + 0x24], edx
test eax, eax
jne 0x43473c
mov eax, dword [ebx + 0x7c]
mov dword [esp + 0x14], eax
jmp 0x434746
mov ecx, dword [ebx + 0x1bc]
mov dword [esp + 0x14], ecx
mov ecx, ebx
call fcn.0045d550
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x50], edx
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x434760
sub eax, edx
mov dword [esp + 0x1c], eax
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x860]
rep stosd dword es:[edi], eax
mov ecx, 0xc0
lea edi, [esp + 0xc60]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x460]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x60]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x1360]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0xf60]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x54c]
mov ecx, dword [esi + 0x554]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x18], ecx
jge 0x4347e1
lea edx, [eax + ecx]
test edx, edx
jge 0x4347e1
mov dword [esp + 0x18], edi
mov edx, dword [esp + 0x14]
add ecx, eax
cmp edx, ecx
jae 0x4347f9
sub edx, eax
cmp ecx, edi
mov dword [esp + 0x18], edx
jge 0x4347f9
mov dword [esp + 0x18], edi
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call fcn.00447270
mov eax, dword [esi + 0x550]
shl eax, 1
xor edi, edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
xor ebx, ebx
cmp eax, edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], edi
jle 0x43496b
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0xc60]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
jmp 0x434840
mov eax, dword [esp + 0x10]
movsx ecx, byte [eax]
push ecx
call fcn.00477f02
add esp, 4
test eax, eax
je 0x434893
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 2
push edx
push eax
call fcn.00477380
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
push 2
push edx
push eax
call dword [0x49b030]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ecx
inc eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp 0x4348be
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 1
push ecx
push edx
call fcn.00477380
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
push 1
push ecx
push edx
call dword [0x49b030]
mov eax, dword [esp + 0x3c]
shl eax, 1
xor ecx, ecx
cmp edi, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + ebx*4 + 0x860], eax
mov dword [esp + ebx*4 + 0x460], ecx
mov dword [esp + ebx*4 + 0x60], eax
jge 0x4348fd
lea edx, [eax + edi]
test edx, edx
mov dword [esp + ebx*4 + 0x460], edi
jge 0x4348fd
mov dword [esp + ebx*4 + 0x460], ecx
mov dword [esp + ebx*4 + 0x60], ecx
mov ecx, dword [esp + 0x24]
lea edx, [eax + edi]
cmp ecx, edx
jae 0x434923
sub eax, ecx
add eax, edi
cmp ecx, edi
mov dword [esp + ebx*4 + 0x60], eax
jae 0x434923
xor eax, eax
mov dword [esp + ebx*4 + 0x460], eax
mov dword [esp + ebx*4 + 0x60], eax
jmp 0x434925
xor eax, eax
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x3c]
mov dword [esp + ebx*4 + 0x1360], eax
mov eax, dword [esp + 0x18]
add edx, 3
add edi, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + ebx*4 + 0xf60], eax
mov eax, dword [esp + 0x14]
inc ebx
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x10]
inc eax
inc edx
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jl 0x434840
mov dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x28]
mov edi, dword [ebp + 8]
push ecx
mov ecx, edi
call fcn.004472b0
mov ecx, edi
call fcn.004475d0
mov edx, dword [esi + 0x53c]
mov ecx, dword [esi + 0x540]
mov dword [esp + 0x48], eax
mov eax, 1
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0x544]
mov dword [esi + 0x53c], eax
mov dword [esp + 0x30], ecx
mov dword [esi + 0x540], eax
mov dword [esi + 0x544], eax
mov eax, dword [esi + 0x554]
lea ecx, [eax + 8]
imul ecx, ecx, 0x780
mov dword [esp + 0x20], edx
mov edx, dword [esi + 0x550]
xor edi, edi
mov dword [esp + 0x1c], ecx
mov ecx, edx
cmp ecx, edi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x14], edi
jge 0x4349e9
xor ecx, ecx
cmp eax, edi
jge 0x4349ef
xor eax, eax
mov dword [esi + 0x554], eax
mov eax, dword [esi + 0x3dc]
push 0x49c291
mov dword [esi + 0x550], ecx
push eax
mov ecx, esi
call fcn.0042d5c0
mov eax, dword [esi + 0x54c]
imul eax, dword [esp + 0x24]
add eax, dword [esi + 0x548]
test ebx, ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0xc], edi
jle 0x434bb1
lea ecx, [esp + 0xc60]
mov dword [esp + 0x18], ecx
lea ebx, [ebx]
mov eax, dword [esp + 0x1c]
xor edx, edx
test eax, eax
jle 0x434a8c
mov edi, dword [esp + edi*4 + 0x860]
add edi, 8
lea eax, [edi + edi*2]
mov dword [esp + 0x10], eax
jmp 0x434a60
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x34]
mov ebx, ecx
shr ecx, 2
add edi, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
add edx, 0x780
cmp edx, eax
jl 0x434a60
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x434a95
sub eax, edx
cmp dword [esi + 0x538], 0xa8c
mov edx, dword [esi + 0x3dc]
mov ecx, 4
jne 0x434abe
mov ecx, dword [esi + 0x554]
add ecx, 4
push eax
push ebx
push 4
push ecx
push edx
call dword [0x49b060]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x24]
add ecx, eax
mov eax, dword [esp + edi*4 + 0x860]
neg eax
add ebx, eax
lea eax, [eax + eax*2 + 0x780]
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + edi*4 + 0xf60]
mov dword [esp + 0x54], eax
mov eax, dword [esp + edi*4 + 0x1360]
cmp eax, ebx
mov edx, 0x1e0c
jge 0x434b84
sub ebx, eax
mov dword [esp + 0x10], ebx
nop
mov eax, dword [esp + edi*4 + 0x460]
mov ebx, dword [esp + edi*4 + 0x60]
cmp eax, ebx
jge 0x434b6d
sub ebx, eax
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x34]
cmp byte [edx + eax], 0
je 0x434b5e
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
sar eax, 3
sar ebx, 3
shl eax, 5
or eax, ebx
mov ebx, dword [esp + 0x20]
shl eax, 5
sar ebx, 3
or eax, ebx
mov ebx, dword [esp + 0x48]
mov word [ebx + ecx*2], ax
mov eax, dword [esp + 0x50]
mov byte [ecx + eax], 0xff
mov eax, dword [esp + 0xc]
inc ecx
add edx, 3
dec eax
mov dword [esp + 0xc], eax
jne 0x434b25
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
add ecx, eax
mov eax, dword [esp + 0x10]
add edx, ebx
dec eax
mov dword [esp + 0x10], eax
jne 0x434b10
mov eax, dword [esp + edi*4 + 0x860]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add ebx, eax
mov eax, dword [esp + 0x2c]
inc edi
add ecx, 3
cmp edi, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], ecx
jl 0x434a40
mov eax, dword [esi + 0x42c]
test eax, eax
je 0x434be4
mov ecx, dword [esi + 0x3dc]
push eax
push ecx
call dword [0x49b04c]
mov edx, dword [esi + 0x428]
push edx
call dword [0x49b054]
xor eax, eax
mov dword [esi + 0x428], eax
mov dword [esi + 0x42c], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x540], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x53c], eax
mov eax, dword [esp + 0x5c]
mov dword [esi + 0x554], ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 0x544], edx
mov dword [esi + 0x550], eax
call fcn.00447640
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8