Function at 0x434270
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x477d46
mov eax, dword fs:[0]
push eax
sub esp, 0x478
push ebx
push esi
push edi
mov eax, dword [0x4eec64]
xor eax, esp
push eax
lea eax, [esp + 0x488]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 0
je 0x434c12
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x8c]
mov dword [esp + 0x44], 0
test eax, eax
je 0x4343d7
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 0xb0]
mov dword [esp + 0x40], ebx
mov esi, 2
lea eax, [esp + 0x88]
mov dword [esp + 0x24], 0x40
mov ecx, ebx
mov edi, ebx
and edi, 0xff00ff
shr ecx, 8
shr ebx, 8
and ecx, 0xff00ff
and ebx, 0xffff00ff
lea edx, [esi - 1]
imul edi, edx
imul ecx, edx
imul ebx, edx
mov edx, dword [esp + 0x40]
shr edi, 8
xor edi, ebx
and edi, 0xff00ff
xor edi, ecx
mov dword [eax - 4], edi
mov ecx, edx
mov edi, edx
mov ebx, ecx
and edi, 0xff00ff
imul edi, esi
shr ecx, 8
shr ebx, 8
and ecx, 0xff00ff
and ebx, 0xffff00ff
imul ecx, esi
imul ebx, esi
shr edi, 8
xor edi, ebx
and edi, 0xff00ff
xor edi, ecx
mov dword [eax], edi
mov ecx, edx
mov edi, edx
mov ebx, ecx
and edi, 0xff00ff
lea edx, [esi + 1]
imul edi, edx
shr ecx, 8
shr ebx, 8
and ecx, 0xff00ff
imul ecx, edx
and ebx, 0xffff00ff
imul ebx, edx
shr edi, 8
xor edi, ebx
mov ebx, dword [esp + 0x40]
and edi, 0xff00ff
xor edi, ecx
mov edx, ebx
mov ecx, ebx
shr ecx, 8
mov dword [eax + 4], edi
and edx, 0xff00ff
lea edi, [esi + 2]
and ecx, 0xff00ff
imul edx, edi
imul ecx, edi
shr edx, 8
and ecx, 0xff00ff00
and edx, 0xff00ff
or ecx, edx
mov dword [eax + 8], ecx
add esi, 4
add eax, 0x10
sub dword [esp + 0x24], 1
jne 0x4342e6
fld dword [0x4902e8]
mov ecx, dword [ebp + 0x10]
fstp dword [esp + 0x40]
fld dword [ecx]
fstp dword [esp + 0x24]
fld dword [ecx]
fstp dword [esp + 0x20]
fild dword [ebp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x20]
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x43440c
fstp st(1)
jmp 0x43440e
fstp st(0)
fstp dword [esp + 0x48]
xor esi, esi
fld dword [ecx]
mov dword [esp + 0x28], esi
fld qword [0x4900c0]
fmul st(1), st(0)
fxch st(1)
fstp dword [ecx]
fmul dword [esp + 0x48]
fstp dword [esp + 0x48]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea edx, [esp + 0x28]
push edx
push eax
push ebx
mov dword [esp + 0x49c], esi
call fcn.00433dd0
mov edi, eax
cmp edi, esi
je 0x4344a1
mov dword [esp + 0x490], 0xffffffff
mov esi, dword [esp + 0x28]
test esi, esi
je 0x434487
mov eax, dword [esi]
and eax, 0xff
cmp eax, 0x80
jae 0x43447a
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
test eax, eax
jne 0x434487
push esi
call fcn.00402770
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x488]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
mov edi, dword [esp + 0x28]
cmp edi, esi
je 0x4344b1
lea ecx, [edi + 4]
mov dword [ebp + 0xc], ecx
jmp 0x4344b4
mov dword [ebp + 0xc], esi
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x1c]
or esi, 0xffffffff
mov byte [esp + 0x1f], 0
cmp edx, esi
jne 0x434564
cmp ecx, esi
jne 0x434564
cmp dword [ebp + 0x20], esi
jne 0x434564
cmp dword [ebp + 0x18], esi
jne 0x434564
cmp dword [ebx + 0x94], 0
je 0x43453c
mov eax, dword [ebx + 0x90]
fnstcw word [esp + 0x18]
mov ecx, dword [ebx + 0x8c]
mov dword [ebp + 0x20], eax
movzx eax, word [esp + 0x18]
mov dword [esp + 0x20], ecx
or eax, 0xc00
fild dword [esp + 0x20]
mov dword [esp + 0x20], eax
xor esi, esi
xor edx, edx
fsub dword [esp + 0x24]
mov dword [ebp + 0x18], esi
fldcw word [esp + 0x20]
mov dword [ebp + 0x14], edx
mov dword [ebp + 0x1c], ecx
or esi, 0xffffffff
fistp qword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
fldcw word [esp + 0x18]
jmp 0x434594
mov eax, 0xfff80000
mov edx, 0x80000
mov ecx, eax
mov esi, edx
mov dword [ebp + 0x14], eax
mov eax, 0xfffffff
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x1c], edx
mov dword [esp + 0x54], eax
or esi, 0xffffffff
jmp 0x434598
fild dword [ebp + 0x1c]
mov byte [esp + 0x1f], 1
fnstcw word [esp + 0x18]
movzx eax, word [esp + 0x18]
fsub dword [esp + 0x24]
or eax, 0xc00
mov dword [esp + 0x20], eax
sub ecx, edx
fldcw word [esp + 0x20]
fistp qword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
fldcw word [esp + 0x18]
mov dword [esp + 0x54], ecx
cmp dword [ebp + 0x24], esi
jne 0x4345f1
cmp dword [ebp + 0x2c], esi
jne 0x4345f1
cmp dword [ebp + 0x30], esi
jne 0x4345f1
cmp dword [ebp + 0x28], esi
jne 0x4345f1
cmp dword [ebx + 0x94], 0
je 0x4345d3
mov ecx, dword [ebx + 0x90]
mov edx, dword [ebx + 0x8c]
xor esi, esi
xor edi, edi
mov dword [ebp + 0x24], esi
mov dword [ebp + 0x28], edi
mov dword [ebp + 0x2c], edx
mov dword [ebp + 0x30], ecx
jmp 0x4345ed
mov ecx, 0xfff80000
mov esi, 0x80000
mov edx, ecx
mov edi, esi
mov dword [ebp + 0x24], ecx
mov dword [ebp + 0x28], edx
mov dword [ebp + 0x2c], esi
mov dword [ebp + 0x30], edi
mov edi, dword [esp + 0x28]
mov edx, dword [ebp + 0xc]
cmp byte [edx], 0
je 0x434bc0
lea ecx, [ecx]
fldz
push ecx
fstp dword [esp]
lea ecx, [esp + 0x24]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ecx
mov esi, ebx
call fcn.00433cb0
mov esi, eax
test esi, esi
jne 0x434a67
mov edx, dword [esp + 0x54]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x20]
push esi
add eax, 2
mov dword [esp + 0x30], ecx
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x24], esi
call fcn.004012c0
mov byte [esp + 0x490], 1
mov esi, dword [esp + 0x18]
test esi, esi
je 0x434ab7
lea ecx, [esp + 0x18]
call fcn.004013f0
mov esi, dword [esp + 0x18]
test esi, esi
je 0x43467f
mov eax, dword [esi]
lea edi, [esi + 4]
shr eax, 8
jmp 0x434683
xor edi, edi
xor eax, eax
mov edx, dword [ebp + 0xc]
dec eax
push eax
push edx
push edi
call fcn.0045e4a0
add esp, 0xc
test esi, esi
je 0x43469d
mov eax, dword [esi]
shr eax, 8
jmp 0x43469f
xor eax, eax
mov byte [eax + edi - 1], 0
test esi, esi
je 0x434ab7
lea edx, [esi + 4]
test edx, edx
je 0x434ab7
movzx ecx, byte [edx]
inc dword [esp + 0x44]
mov edi, dword [ebp + 0x10]
inc edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x24], edx
test ecx, ecx
je 0x4349bb
fld dword [esp + 0x30]
fld qword [0x48c8b0]
fld dword [esp + 0x2c]
cmp ecx, 0xa
je 0x43499d
cmp ecx, 0xd
je 0x43499d
fild dword [ebx + 0xac]
fadd dword [edi + 4]
fild dword [ebp + 0x28]
fcompp
fnstsw ax
test ah, 5
jp 0x434950
mov edx, dword [ebx + 0x68]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [eax + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [eax + 0xc]
add eax, 3
sar eax, 2
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov dword [esp + 0x38], edx
lea edx, [esp + 0x70]
push edx
fsubp st(3)
lea eax, [esp + 0x54]
fxch st(2)
push eax
push ecx
fstp dword [esp + 0x20]
push ebx
fld dword [esp + 0x24]
fadd st(1)
fstp qword [esp + 0x84]
fild dword [esp + 0x48]
mov edi, dword [esp + 0x84]
sar edi, 0x10
fadd st(2)
fstp dword [esp + 0x24]
fadd dword [esp + 0x24]
fstp qword [esp + 0x8c]
mov esi, dword [esp + 0x8c]
sar esi, 0x10
mov eax, esi
and eax, 3
call fcn.00433c20
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x70]
sar esi, 2
cmp esi, dword [ebp + 0x24]
mov dword [esp + 0x38], eax
lea eax, [esi + ecx]
lea ecx, [edi + edx]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x60], esi
jge 0x4347ad
mov edx, dword [ebp + 0x24]
mov dword [esp + 0x60], edx
mov ecx, dword [ebp + 0x28]
cmp edi, ecx
jl 0x4347b6
mov ecx, edi
mov edx, dword [ebp + 0x2c]
cmp eax, edx
mov dword [esp + 0x68], edx
jg 0x4347c5
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x30]
mov edx, dword [esp + 0x14]
cmp edx, eax
mov dword [esp + 0x6c], eax
jg 0x4347d8
mov dword [esp + 0x6c], edx
cmp dword [ebx + 0x94], 0
je 0x4348be
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x60], eax
jge 0x4348be
cmp ecx, dword [esp + 0x6c]
jge 0x4348be
cmp dword [esp + 0x4c], 0x20
je 0x4348be
mov edx, dword [esp + 0x60]
mov dword [esp + 0x5c], ecx
sub ecx, edi
imul ecx, dword [esp + 0x50]
sub ecx, esi
sub eax, edx
add ecx, edx
add ecx, dword [esp + 0x38]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x88]
imul ecx, dword [esp + 0x5c]
mov edx, dword [eax + 0x94]
add ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
lea esi, [edx + ecx*4]
mov dword [esp + 0x14], eax
mov al, byte [ebx]
test al, al
je 0x434898
movzx ecx, al
mov edi, dword [esp + ecx*4 + 0x84]
mov eax, edi
shr eax, 0x18
mov edx, pe_nt_image_headers32
sub edx, eax
mov eax, dword [esi]
mov ecx, eax
and eax, 0xff00ff
shr ecx, 8
imul eax, edx
and ecx, 0xff00ff
imul ecx, edx
shr eax, 8
and ecx, 0xff00ff00
and eax, 0xff00ff
add eax, ecx
add eax, edi
mov dword [esi], eax
add esi, 4
inc ebx
sub dword [esp + 0x14], 1
jne 0x434850
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x50]
add dword [esp + 0x38], ecx
inc eax
cmp eax, dword [esp + 0x6c]
mov dword [esp + 0x5c], eax
jl 0x434829
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x43490b
mov edx, dword [esp + 0x24]
mov al, byte [edx]
test al, al
je 0x43490b
mov esi, dword [ebp + 8]
cmp dword [esi + 0x48], 0
je 0x43490e
movzx ecx, cx
fstp st(0)
movzx edx, al
shl ecx, 0x10
add ecx, edx
mov dword [esp + 0x34], ecx
lea ecx, [esi + 0x44]
lea eax, [esp + 0x34]
call fcn.00435990
test eax, eax
je 0x434905
fild dword [eax + 4]
fadd dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
jmp 0x43490e
mov esi, dword [ebp + 8]
fiadd dword [esi + 0xa8]
mov eax, dword [esp + 0x3c]
movsx ecx, word [eax + 0x10]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x3c], ecx
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fild dword [esp + 0x3c]
faddp st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fld qword [0x48c8b0]
fld dword [esp + 0x30]
fxch st(2)
cmp byte [ebx + 0x72], 0
je 0x43499d
fld st(0)
fsub dword [ebx + 0x7c]
fstp dword [esp + 0x34]
fld st(2)
fsub dword [ebx + 0x80]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fld dword [esp + 0x34]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fld dword [ebx + 0x78]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x43499b
mov eax, dword [esp + 0x44]
fstp dword [ebx + 0x78]
mov dword [ebx + 0x74], eax
jmp 0x43499d
fstp st(0)
movzx ecx, byte [edx]
inc dword [esp + 0x44]
inc edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x24], edx
test ecx, ecx
jne 0x4346e0
fstp st(2)
fstp st(0)
jmp 0x4349bf
fld dword [esp + 0x2c]
cmp byte [esp + 0x1f], 0
je 0x434b41
fld dword [esp + 0x40]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4349dd
fstp dword [esp + 0x40]
jmp 0x4349df
fstp st(0)
fild dword [ebx + 0xac]
fadd dword [edi + 4]
fstp dword [edi + 4]
fld dword [esp + 0x48]
fstp dword [edi]
fld dword [edi + 4]
fisub dword [ebx + 0xac]
fild dword [ebp + 0x30]
fcompp
fnstsw ax
test ah, 5
jnp 0x434b91
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 0xc]
mov byte [esp + 0x490], 0
cmp byte [ecx + eax], 0
je 0x434b99
lea edi, [ecx + eax + 1]
mov eax, dword [esi]
and eax, 0xff
mov dword [ebp + 0xc], edi
cmp eax, 0x80
jae 0x434a44
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
test eax, eax
jne 0x434a51
push esi
call fcn.00402770
add esp, 4
cmp byte [edi], 0
je 0x434bc0
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x58]
jmp 0x434600
mov dword [esp + 0x490], 0xffffffff
test edi, edi
je 0x434a9d
mov eax, dword [edi]
and eax, 0xff
cmp eax, 0x80
jae 0x434a90
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
test eax, eax
jne 0x434a9d
push edi
call fcn.00402770
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x488]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
mov byte [esp + 0x490], 0
test esi, esi
je 0x434aea
mov eax, dword [esi]
and eax, 0xff
cmp eax, 0x80
jae 0x434add
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
test eax, eax
jne 0x434aea
push esi
call fcn.00402770
add esp, 4
mov dword [esp + 0x490], 0xffffffff
mov esi, dword [esp + 0x28]
test esi, esi
je 0x434b24
mov eax, dword [esi]
and eax, 0xff
cmp eax, 0x80
jae 0x434b17
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
test eax, eax
jne 0x434b24
push esi
call fcn.00402770
add esp, 4
mov eax, 4
mov ecx, dword [esp + 0x488]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
fmul qword [0x490068]
fstp dword [edi]
mov ecx, dword [ebx + 0xac]
add ecx, dword [ebx + 0x38]
mov dword [esp + 0x58], ecx
fild dword [esp + 0x58]
fadd dword [edi + 4]
mov byte [esp + 0x490], 0
fstp dword [edi + 4]
mov eax, dword [esi]
and eax, 0xff
cmp eax, 0x80
jae 0x434b82
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
test eax, eax
jne 0x434bd8
push esi
call fcn.00402770
add esp, 4
jmp 0x434bd8
mov byte [esp + 0x490], 0
mov eax, dword [esi]
and eax, 0xff
cmp eax, 0x80
jae 0x434bb3
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
test eax, eax
jne 0x434bc0
push esi
call fcn.00402770
add esp, 4
fild dword [ebx + 0x38]
mov eax, dword [ebp + 0x10]
fadd dword [eax + 4]
fstp dword [eax + 4]
fld dword [esp + 0x40]
fmul qword [0x490068]
fstp dword [eax]
mov dword [esp + 0x490], 0xffffffff
mov esi, dword [esp + 0x28]
test esi, esi
je 0x434c12
mov eax, dword [esi]
and eax, 0xff
cmp eax, 0x80
jae 0x434c05
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
test eax, eax
jne 0x434c12
push esi
call fcn.00402770
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x488]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c