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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
push ebx
push esi
mov esi, dword [ebp + 8]
mov edx, 1
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 8], edx
je 0x435a56
mov ecx, dword [esi + 0x68]
cmp ecx, 8
jae 0x435a53
mov bl, byte [edi]
mov byte [ecx + esi + 0x60], bl
add dword [esi + 0x68], edx
add dword [eax], 0xffffffff
add edi, edx
cmp dword [eax], 0
jne 0x435a38
mov dword [ebp + 0xc], edi
mov edx, 8
cmp dword [esi + 0x68], edx
jb 0x435ea4
cmp dword [esi + 0x74], 0
je 0x435a80
mov ecx, dword [ebp + 0x10]
mov ebx, dword [esi + 0x6c]
mov dword [ecx], ebx
mov ebx, dword [esi + 0x70]
mov dword [ecx + 4], ebx
add ecx, edx
mov dword [ebp + 0x10], ecx
mov dword [ebp - 4], edx
mov eax, dword [eax]
mov ecx, dword [esi + 0x60]
mov edx, dword [esi + 0x64]
shr eax, 3
add edi, 0xfffffff8
mov dword [ebp - 0xc], eax
mov dword [ebp + 8], edi
mov eax, ecx
mov edi, ecx
shl ecx, 8
shl edi, 8
shr eax, 8
xor eax, edi
mov edi, edx
and eax, 0xff00ff
xor eax, ecx
mov ecx, edx
shl ecx, 8
shl edx, 8
shr edi, 8
xor edi, ecx
mov ecx, dword [esi + 0x5c]
and edi, 0xff00ff
xor edi, edx
mov edx, dword [esi + 0x58]
rol eax, 0x10
rol edi, 0x10
sub edx, edi
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov ebx, edx
and ebx, 0xff
add ecx, dword [ebx*4 + 0x403390]
mov ebx, edx
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x403790]
shr edx, 0x10
and edx, 0xff
sub ecx, dword [edx*4 + 0x403b90]
mov edx, dword [esi + 0x50]
xor eax, ecx
mov ecx, dword [esi + 0x54]
xor edx, eax
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov ebx, edx
and ebx, 0xff
sub ecx, dword [ebx*4 + 0x403390]
mov ebx, edx
shr ebx, 0x18
add ecx, dword [ebx*4 + 0x403790]
shr edx, 0x10
and edx, 0xff
xor ecx, dword [edx*4 + 0x403b90]
mov edx, dword [esi + 0x48]
xor edi, ecx
mov ecx, dword [esi + 0x4c]
add edx, edi
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov ebx, edx
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x403390]
mov ebx, edx
shr ebx, 0x10
and ebx, 0xff
add ecx, dword [ebx*4 + 0x403b90]
shr edx, 0x18
sub ecx, dword [edx*4 + 0x403790]
mov edx, dword [esi + 0x40]
xor eax, ecx
mov ecx, dword [esi + 0x44]
sub edx, eax
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov ebx, edx
and ebx, 0xff
add ecx, dword [ebx*4 + 0x403390]
mov ebx, edx
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x403790]
shr edx, 0x10
and edx, 0xff
sub ecx, dword [edx*4 + 0x403b90]
xor edi, ecx
mov edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
xor edx, edi
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov ebx, edx
and ebx, 0xff
sub ecx, dword [ebx*4 + 0x403390]
mov ebx, edx
shr ebx, 0x18
add ecx, dword [ebx*4 + 0x403790]
shr edx, 0x10
and edx, 0xff
xor ecx, dword [edx*4 + 0x403b90]
mov edx, dword [esi + 0x30]
xor eax, ecx
mov ecx, dword [esi + 0x34]
add edx, eax
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov ebx, edx
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x403390]
mov ebx, edx
shr ebx, 0x10
and ebx, 0xff
add ecx, dword [ebx*4 + 0x403b90]
shr edx, 0x18
sub ecx, dword [edx*4 + 0x403790]
mov edx, dword [esi + 0x28]
xor edi, ecx
mov ecx, dword [esi + 0x2c]
sub edx, edi
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov ebx, edx
and ebx, 0xff
add ecx, dword [ebx*4 + 0x403390]
mov ebx, edx
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x403790]
shr edx, 0x10
and edx, 0xff
sub ecx, dword [edx*4 + 0x403b90]
mov edx, dword [esi + 0x20]
xor eax, ecx
mov ecx, dword [esi + 0x24]
xor edx, eax
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov ebx, edx
and ebx, 0xff
sub ecx, dword [ebx*4 + 0x403390]
mov ebx, edx
shr ebx, 0x18
add ecx, dword [ebx*4 + 0x403790]
shr edx, 0x10
and edx, 0xff
xor ecx, dword [edx*4 + 0x403b90]
mov edx, dword [esi + 0x18]
xor edi, ecx
mov ecx, dword [esi + 0x1c]
add edx, edi
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov ebx, edx
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x403390]
mov ebx, edx
shr ebx, 0x10
and ebx, 0xff
add ecx, dword [ebx*4 + 0x403b90]
shr edx, 0x18
sub ecx, dword [edx*4 + 0x403790]
xor eax, ecx
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
sub edx, eax
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov ebx, edx
and ebx, 0xff
add ecx, dword [ebx*4 + 0x403390]
mov ebx, edx
shr edx, 0x10
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x403790]
and edx, 0xff
sub ecx, dword [edx*4 + 0x403b90]
mov edx, dword [esi + 8]
xor edi, ecx
mov ecx, dword [esi + 0xc]
xor edx, edi
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov ebx, edx
and ebx, 0xff
sub ecx, dword [ebx*4 + 0x403390]
mov ebx, edx
shr edx, 0x10
shr ebx, 0x18
add ecx, dword [ebx*4 + 0x403790]
and edx, 0xff
xor ecx, dword [edx*4 + 0x403b90]
mov edx, dword [esi]
xor eax, ecx
mov ecx, dword [esi + 4]
add edx, eax
rol edx, cl
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x402f90]
mov ebx, edx
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x403390]
mov ebx, edx
shr ebx, 0x10
shr edx, 0x18
and ebx, 0xff
add ecx, dword [ebx*4 + 0x403b90]
mov ebx, 8
sub ecx, dword [edx*4 + 0x403790]
add dword [ebp - 4], ebx
xor ecx, edi
mov edx, ecx
mov edi, ecx
shr edx, 8
shl edi, 8
xor edx, edi
shl ecx, 8
and edx, 0xff00ff
xor edx, ecx
mov ecx, eax
shr ecx, 8
mov edi, eax
shl edi, 8
xor ecx, edi
mov edi, dword [ebp + 0x10]
and ecx, 0xff00ff
shl eax, 8
xor ecx, eax
rol edx, 0x10
xor edx, dword [esi + 0x78]
rol ecx, 0x10
xor ecx, dword [esi + 0x7c]
cmp dword [ebp - 8], 0
mov dword [edi], edx
mov dword [edi + 4], ecx
je 0x435e37
mov edx, dword [esi + 0x60]
mov eax, dword [esi + 0x64]
mov dword [esi + 0x78], edx
mov dword [esi + 0x7c], eax
mov dword [ebp - 8], 0
jmp 0x435e45
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [esi + 0x78], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x7c], edx
mov eax, dword [ebp - 0xc]
mov ecx, eax
sub eax, 1
test ecx, ecx
mov dword [ebp - 0xc], eax
je 0x435e6e
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
add dword [ebp + 8], ebx
add eax, ebx
add edi, ebx
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edi
jmp 0x435a94
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
mov edx, dword [ebp + 0xc]
and eax, 7
push eax
mov dword [esi + 0x68], eax
push edx
lea eax, [esi + 0x60]
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 4]
mov dword [ebx], eax
mov ecx, dword [edi]
mov dword [esi + 0x6c], ecx
mov edx, dword [edi + 4]
add esp, 0xc
mov dword [esi + 0x70], edx
mov dword [esi + 0x74], 1
add dword [ebx], 0xfffffff8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10