Function at 0x43e580
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, ecx
push edi
lea edi, [ebp + 0x18]
push esi
push ebx
sub esp, 0x9c
mov ebx, dword [ecx + 0x10]
xor ecx, ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0xb4]
shl eax, 3
add eax, ebx
mov dword [ebp + 0x10], eax
setb cl
mov eax, dword [esp + 0xb4]
cmp ecx, 1
sbb edx, 0xffffffff
shr eax, 0x1d
shr ebx, 3
add eax, edx
and ebx, 0x3f
mov dword [ebp + 0x14], eax
je 0x43e636
mov eax, dword [ebp + 0x58]
mov esi, 0x40
sub esi, ebx
add eax, ebx
cmp dword [esp + 0xb4], esi
jb 0x43ec38
cmp esi, 4
jae 0x43ec68
test esi, esi
je 0x43e604
mov ecx, dword [esp + 0xb0]
movzx edx, byte [ecx]
mov byte [eax], dl
test esi, 2
jne 0x43eeb0
cmp byte [ebp + 0x5c], 0
jne 0x43ecc0
lea edi, [ebp + 0x18]
mov dword [esp], ebp
mov dword [esp + 4], edi
call fcn.0043dea0
mov eax, dword [esp + 0xb4]
add dword [esp + 0xb0], esi
lea eax, [ebx + eax - 0x40]
mov dword [esp + 0xb4], eax
cmp dword [esp + 0xb4], 0x3f
jbe 0x43ee00
mov eax, dword [esp + 0xb4]
mov ebx, dword [esp + 0xb0]
mov esi, ebp
mov dword [esp + 0x14], eax
mov eax, dword [ebx]
mov dword [edi], eax
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [ebx + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [ebx + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [ebx + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [ebx + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [ebx + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [ebx + 0x3c]
mov dword [edi + 0x3c], eax
cmp byte [esi + 0x5c], 0
jne 0x43e7f8
mov dword [esp + 4], edi
mov ebp, esi
mov dword [esp], esi
call fcn.0043dea0
mov eax, dword [esp + 0x14]
sub eax, 0x40
cmp eax, 0x3f
jbe 0x43e769
mov eax, dword [esp + 0x14]
lea esi, [ebx + 0x40]
add eax, 0xffffff80
and eax, 0xffffffc0
lea ebx, [ebx + eax + 0x80]
lea esi, [esi]
mov eax, dword [esi]
add esi, 0x40
mov dword [edi], eax
mov eax, dword [esi - 0x3c]
mov dword [edi + 4], eax
mov eax, dword [esi - 0x38]
mov dword [edi + 8], eax
mov eax, dword [esi - 0x34]
mov dword [edi + 0xc], eax
mov eax, dword [esi - 0x30]
mov dword [edi + 0x10], eax
mov eax, dword [esi - 0x2c]
mov dword [edi + 0x14], eax
mov eax, dword [esi - 0x28]
mov dword [edi + 0x18], eax
mov eax, dword [esi - 0x24]
mov dword [edi + 0x1c], eax
mov eax, dword [esi - 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [esi - 0x1c]
mov dword [edi + 0x24], eax
mov eax, dword [esi - 0x18]
mov dword [edi + 0x28], eax
mov eax, dword [esi - 0x14]
mov dword [edi + 0x2c], eax
mov eax, dword [esi - 0x10]
mov dword [edi + 0x30], eax
mov eax, dword [esi - 0xc]
mov dword [edi + 0x34], eax
mov eax, dword [esi - 8]
mov dword [edi + 0x38], eax
mov eax, dword [esi - 4]
mov dword [edi + 0x3c], eax
mov dword [esp + 4], edi
mov dword [esp], ebp
call fcn.0043dea0
cmp esi, ebx
jne 0x43e6f8
mov eax, dword [esp + 0xb4]
mov ebx, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
sub eax, 0x40
and eax, 0xffffffc0
and edx, 0x3f
lea eax, [ebx + eax + 0x40]
mov dword [esp + 0xb0], eax
cmp edx, 4
jb 0x43ec00
mov eax, dword [esp + 0xb0]
lea ecx, [ebp + 0x1c]
and ecx, 0xfffffffc
mov eax, dword [eax]
mov dword [ebp + 0x18], eax
mov eax, dword [esp + 0xb0]
mov eax, dword [eax + edx - 4]
mov dword [edi + edx - 4], eax
mov eax, edi
mov ebx, dword [esp + 0xb0]
sub eax, ecx
add edx, eax
sub ebx, eax
and edx, 0xfffffffc
cmp edx, 4
jb 0x43e7e5
and edx, 0xfffffffc
xor eax, eax
mov esi, dword [ebx + eax]
mov dword [ecx + eax], esi
add eax, 4
cmp eax, edx
jb 0x43e7d8
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov eax, dword [esi + 0x58]
movzx edx, word [eax + 2]
movzx ecx, word [eax]
movzx ebp, word [eax + 4]
rol dx, 8
rol cx, 8
mov word [esp + 0x28], dx
mov edx, dword [eax]
rol bp, 8
mov word [esp + 0x2e], cx
movzx ecx, word [eax + 6]
bswap edx
mov dword [esp + 0x58], edx
mov edx, dword [eax + 4]
rol cx, 8
mov word [esp + 0x26], bp
movzx ebp, word [eax + 0xa]
bswap edx
mov dword [esp + 0x5c], edx
movzx edx, word [eax + 8]
mov word [esp + 0x24], cx
movzx ecx, word [eax + 0xc]
rol bp, 8
rol dx, 8
mov word [esp + 0x20], bp
movzx ebp, word [eax + 0x10]
mov word [esp + 0x22], dx
mov edx, dword [eax + 8]
rol cx, 8
mov word [esp + 0x1e], cx
movzx ecx, word [eax + 0x12]
rol bp, 8
bswap edx
mov dword [esp + 0x60], edx
movzx edx, word [eax + 0xe]
rol cx, 8
mov word [esp + 0x1a], bp
rol dx, 8
mov word [esp + 0x18], cx
mov word [esp + 0x1c], dx
mov edx, dword [eax + 0xc]
bswap edx
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0x10]
bswap edx
mov dword [esp + 0x68], edx
movzx edx, word [eax + 0x14]
rol dx, 8
mov word [esp + 0x36], dx
mov edx, dword [eax + 0x14]
movzx ebp, word [eax + 0x16]
movzx ecx, word [eax + 0x18]
bswap edx
mov dword [esp + 0x6c], edx
movzx edx, word [eax + 0x1a]
rol bp, 8
rol cx, 8
rol dx, 8
mov word [esp + 0x34], bp
movzx ebp, word [eax + 0x1c]
mov word [esp + 0x30], dx
mov edx, dword [eax + 0x18]
mov word [esp + 0x32], cx
movzx ecx, word [eax + 0x1e]
rol bp, 8
bswap edx
mov dword [esp + 0x70], edx
mov edx, dword [eax + 0x1c]
rol cx, 8
mov word [esp + 0x2c], bp
movzx ebp, word [eax + 0x22]
bswap edx
mov dword [esp + 0x74], edx
movzx edx, word [eax + 0x20]
mov word [esp + 0x2a], cx
movzx ecx, word [eax + 0x24]
rol bp, 8
rol dx, 8
mov word [esp + 0x3a], bp
movzx ebp, word [eax + 0x28]
mov word [esp + 0x38], dx
mov edx, dword [eax + 0x20]
rol cx, 8
mov word [esp + 0x3c], cx
movzx ecx, word [eax + 0x2a]
rol bp, 8
bswap edx
mov dword [esp + 0x78], edx
movzx edx, word [eax + 0x26]
rol cx, 8
mov word [esp + 0x40], bp
rol dx, 8
mov word [esp + 0x42], cx
mov word [esp + 0x3e], dx
mov edx, dword [eax + 0x24]
bswap edx
mov dword [esp + 0x7c], edx
mov edx, dword [eax + 0x28]
movzx ecx, word [eax + 0x30]
movzx ebp, word [eax + 0x2e]
bswap edx
mov dword [esp + 0x80], edx
movzx edx, word [eax + 0x2c]
rol cx, 8
rol bp, 8
rol dx, 8
mov word [esp + 0x48], cx
movzx ecx, word [eax + 0x34]
mov word [esp + 0x44], dx
mov edx, dword [eax + 0x2c]
rol cx, 8
mov word [esp + 0x46], bp
mov ebp, dword [eax + 0x30]
bswap edx
mov dword [esp + 0x84], edx
movzx edx, word [eax + 0x32]
mov word [esp + 0x4c], cx
movzx ecx, word [eax + 0x38]
bswap ebp
rol dx, 8
mov word [esp + 0x4a], dx
movzx edx, word [eax + 0x36]
rol cx, 8
mov word [esp + 0x50], cx
mov ecx, dword [eax + 0x38]
rol dx, 8
mov word [esp + 0x4e], dx
mov edx, dword [eax + 0x34]
bswap ecx
bswap edx
mov dword [esp + 0x88], edx
movzx edx, word [eax + 0x3a]
rol dx, 8
mov word [esp + 0x52], dx
movzx edx, word [eax + 0x3c]
rol dx, 8
mov word [esp + 0x54], dx
movzx edx, word [eax + 0x3e]
rol dx, 8
cmp byte [esi + 0x5d], 0
mov word [esp + 0x56], dx
mov edx, dword [eax + 0x3c]
bswap edx
mov dword [esp + 0x8c], edx
jne 0x43eb80
movzx ecx, word [esp + 0x2e]
movzx edx, word [esp + 0x28]
movzx ebp, word [esp + 0x26]
mov word [eax], cx
movzx ecx, word [esp + 0x24]
mov word [eax + 2], dx
movzx edx, word [esp + 0x22]
mov word [eax + 4], bp
movzx ebp, word [esp + 0x20]
mov word [eax + 6], cx
movzx ecx, word [esp + 0x1e]
mov word [eax + 8], dx
movzx edx, word [esp + 0x1c]
mov word [eax + 0xa], bp
movzx ebp, word [esp + 0x1a]
mov word [eax + 0xc], cx
movzx ecx, word [esp + 0x18]
mov word [eax + 0xe], dx
movzx edx, word [esp + 0x36]
mov word [eax + 0x10], bp
movzx ebp, word [esp + 0x34]
mov word [eax + 0x12], cx
movzx ecx, word [esp + 0x32]
mov word [eax + 0x14], dx
movzx edx, word [esp + 0x30]
mov word [eax + 0x16], bp
movzx ebp, word [esp + 0x2c]
mov word [eax + 0x18], cx
movzx ecx, word [esp + 0x2a]
mov word [eax + 0x1c], bp
mov word [eax + 0x1e], cx
mov word [eax + 0x1a], dx
movzx edx, word [esp + 0x38]
movzx ecx, word [esp + 0x3c]
movzx ebp, word [esp + 0x3a]
mov word [eax + 0x20], dx
movzx edx, word [esp + 0x3e]
mov word [eax + 0x24], cx
movzx ecx, word [esp + 0x42]
mov word [eax + 0x26], dx
movzx edx, word [esp + 0x44]
mov word [eax + 0x2a], cx
movzx ecx, word [esp + 0x48]
mov word [eax + 0x2c], dx
movzx edx, word [esp + 0x4a]
mov word [eax + 0x22], bp
movzx ebp, word [esp + 0x40]
mov word [eax + 0x32], dx
movzx edx, word [esp + 0x4e]
mov word [eax + 0x30], cx
movzx ecx, word [esp + 0x4c]
mov word [eax + 0x36], dx
movzx edx, word [esp + 0x52]
mov word [eax + 0x28], bp
movzx ebp, word [esp + 0x46]
mov word [eax + 0x3a], dx
movzx edx, word [esp + 0x54]
mov word [eax + 0x34], cx
movzx ecx, word [esp + 0x50]
mov word [eax + 0x3c], dx
movzx edx, word [esp + 0x56]
mov word [eax + 0x2e], bp
mov word [eax + 0x38], cx
mov word [eax + 0x3e], dx
mov dword [esp + 4], edi
add ebx, 0x40
mov dword [esp], esi
call fcn.0043dea0
sub dword [esp + 0x14], 0x40
mov eax, dword [esp + 0x14]
cmp eax, 0x3f
ja 0x43e658
mov ebp, esi
jmp 0x43e769
mov edx, dword [esp + 0x58]
mov dword [eax + 0x38], ecx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0x30], ebp
mov dword [eax], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + 0x3c], ecx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 0x14], edx
mov edx, dword [esp + 0x70]
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x74]
mov dword [eax + 0x1c], edx
mov edx, dword [esp + 0x78]
mov dword [eax + 0x20], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + 0x24], edx
mov edx, dword [esp + 0x80]
mov dword [eax + 0x28], edx
mov edx, dword [esp + 0x84]
mov dword [eax + 0x2c], edx
mov edx, dword [esp + 0x88]
mov dword [eax + 0x34], edx
jmp 0x43eb56
test edx, edx
je 0x43e7e5
mov eax, dword [esp + 0xb0]
movzx eax, byte [eax]
mov byte [ebp + 0x18], al
test dl, 2
je 0x43e7e5
mov eax, dword [esp + 0xb0]
movzx eax, word [eax + edx - 2]
mov word [edi + edx - 2], ax
jmp 0x43e7e5
mov ebx, dword [esp + 0xb4]
mov dword [esp], eax
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xb0]
mov dword [esp + 4], ebx
call sub.msvcrt.dll_memcpy
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov ecx, dword [esp + 0xb0]
mov edx, dword [ecx]
mov dword [eax], edx
mov ecx, dword [esp + 0xb0]
mov edx, dword [ecx + esi - 4]
lea ecx, [eax + 4]
and ecx, 0xfffffffc
mov dword [eax + esi - 4], edx
mov edi, dword [esp + 0xb0]
sub eax, ecx
sub edi, eax
add eax, esi
and eax, 0xfffffffc
cmp eax, 4
jb 0x43e604
mov dword [esp + 0x14], ebx
and eax, 0xfffffffc
xor edx, edx
mov ebx, dword [edi + edx]
mov dword [ecx + edx], ebx
add edx, 4
cmp edx, eax
jb 0x43ecaa
mov ebx, dword [esp + 0x14]
jmp 0x43e604
cmp byte [ebp + 0x5d], 0
mov eax, dword [ebp + 0x58]
je 0x43ee0c
movzx edx, byte [eax]
movzx ecx, byte [eax + 3]
rol word [eax + 1], 8
rol word [eax + 5], 8
mov byte [eax], cl
movzx ecx, byte [eax + 7]
mov byte [eax + 3], dl
movzx edx, byte [eax + 4]
mov byte [eax + 4], cl
movzx ecx, byte [eax + 0xb]
mov byte [eax + 7], dl
movzx edx, byte [eax + 8]
mov byte [eax + 8], cl
movzx ecx, byte [eax + 0xf]
mov byte [eax + 0xb], dl
movzx edx, byte [eax + 0xc]
mov byte [eax + 0xc], cl
movzx ecx, byte [eax + 0x13]
mov byte [eax + 0xf], dl
movzx edx, byte [eax + 0x10]
mov byte [eax + 0x10], cl
movzx ecx, byte [eax + 0x17]
mov byte [eax + 0x13], dl
movzx edx, byte [eax + 0x14]
rol word [eax + 9], 8
rol word [eax + 0xd], 8
rol word [eax + 0x11], 8
mov byte [eax + 0x14], cl
movzx ecx, byte [eax + 0x1b]
mov byte [eax + 0x17], dl
movzx edx, byte [eax + 0x18]
mov byte [eax + 0x18], cl
movzx ecx, byte [eax + 0x1f]
mov byte [eax + 0x1b], dl
movzx edx, byte [eax + 0x1c]
mov byte [eax + 0x1c], cl
movzx ecx, byte [eax + 0x23]
mov byte [eax + 0x1f], dl
movzx edx, byte [eax + 0x20]
mov byte [eax + 0x20], cl
movzx ecx, byte [eax + 0x27]
mov byte [eax + 0x23], dl
movzx edx, byte [eax + 0x24]
mov byte [eax + 0x24], cl
movzx ecx, byte [eax + 0x2b]
mov byte [eax + 0x27], dl
movzx edx, byte [eax + 0x28]
rol word [eax + 0x15], 8
mov byte [eax + 0x28], cl
mov byte [eax + 0x2b], dl
rol word [eax + 0x19], 8
rol word [eax + 0x1d], 8
rol word [eax + 0x21], 8
rol word [eax + 0x25], 8
rol word [eax + 0x29], 8
movzx edx, byte [eax + 0x2c]
movzx ecx, byte [eax + 0x2f]
rol word [eax + 0x2d], 8
mov byte [eax + 0x2f], dl
movzx edx, byte [eax + 0x30]
mov byte [eax + 0x2c], cl
movzx ecx, byte [eax + 0x33]
mov byte [eax + 0x33], dl
movzx edx, byte [eax + 0x34]
mov byte [eax + 0x30], cl
movzx ecx, byte [eax + 0x37]
mov byte [eax + 0x37], dl
movzx edx, byte [eax + 0x38]
mov byte [eax + 0x34], cl
movzx ecx, byte [eax + 0x3b]
mov byte [eax + 0x3b], dl
movzx edx, byte [eax + 0x3c]
mov byte [eax + 0x38], cl
movzx ecx, byte [eax + 0x3f]
rol word [eax + 0x31], 8
mov byte [eax + 0x3c], cl
mov byte [eax + 0x3f], dl
rol word [eax + 0x35], 8
rol word [eax + 0x39], 8
rol word [eax + 0x3d], 8
jmp 0x43e60e
mov edx, dword [esp + 0xb4]
jmp 0x43e792
rol word [eax], 8
rol word [eax + 2], 8
rol word [eax + 4], 8
rol word [eax + 6], 8
rol word [eax + 8], 8
rol word [eax + 0xa], 8
rol word [eax + 0xc], 8
rol word [eax + 0xe], 8
rol word [eax + 0x10], 8
rol word [eax + 0x12], 8
rol word [eax + 0x14], 8
rol word [eax + 0x16], 8
rol word [eax + 0x18], 8
rol word [eax + 0x1a], 8
rol word [eax + 0x1c], 8
rol word [eax + 0x1e], 8
rol word [eax + 0x20], 8
rol word [eax + 0x22], 8
rol word [eax + 0x24], 8
rol word [eax + 0x26], 8
rol word [eax + 0x28], 8
rol word [eax + 0x2a], 8
rol word [eax + 0x2c], 8
rol word [eax + 0x2e], 8
rol word [eax + 0x30], 8
rol word [eax + 0x32], 8
rol word [eax + 0x34], 8
rol word [eax + 0x36], 8
rol word [eax + 0x38], 8
rol word [eax + 0x3a], 8
rol word [eax + 0x3c], 8
rol word [eax + 0x3e], 8
jmp 0x43e60e
mov ecx, dword [esp + 0xb0]
movzx edx, word [ecx + esi - 2]
mov word [eax + esi - 2], dx
jmp 0x43e604