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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5c
movzx ebp, word [esp + 0x74]
mov bl, byte [esp + 0xa0]
mov bh, byte [esp + 0x98]
movzx esi, word [esp + 0x94]
lea edi, [esp + 0x84]
mov eax, dword [0x4636bc]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xa4]
lea ecx, [esp + 0x34]
push ebp
push eax
push ecx
call fcn.00416a40
add esp, 0xc
cmp ebp, 0xff
ja 0x427771
test bh, bh
jne 0x427771
cmp dword [esp + 0x90], 0xf
ja 0x427771
lea eax, [esp + 0x78]
mov ecx, dword [eax]
cmp ecx, 0xfe
ja 0x427771
lea eax, [esp + 0x78]
mov edx, dword [eax + 4]
cmp edx, 0xf
ja 0x427771
lea eax, [esp + 0x78]
mov eax, dword [eax + 8]
cmp eax, 0xfe
ja 0x427771
cmp dword [edi + 4], 0
jne 0x427771
cmp dword [edi + 8], 0xfe
ja 0x427771
test bp, bp
sete bh
movzx edi, byte [esp + 0x34]
add edi, edi
mov dword [esp + 0xc], eax
mov eax, esi
movzx esi, byte [esp + 0x35]
shl esi, 2
or esi, edi
shl ebp, 8
movzx edi, bp
or edi, esi
shl bl, 6
shl bh, 3
or bh, bl
or bh, 1
movzx esi, bh
or edi, esi
shl eax, 0x10
or eax, edi
mov ebx, dword [esp + 0x90]
shl bl, 4
or bl, dl
lea edx, [esp + 0x84]
mov dl, byte [edx]
mov esi, eax
mov eax, dword [esp + 0xc]
jmp 0x4278fc
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x427791
mov edx, dword [eax]
lea esi, [ecx - 1]
mov dword [eax + 4], esi
mov esi, dword [edx + ecx*8 - 8]
mov dl, byte [esp + 0x9c]
jmp 0x4277a5
push 0x48
call dword [0x463770]
mov dl, byte [esp + 0xa0]
add esp, 4
mov esi, eax
mov dword [esp + 0x18], 1
lea ecx, [esp + 0x78]
mov eax, dword [ecx]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x30], eax
mov eax, dword [edi]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x14], eax
test bp, bp
mov word [esp + 0xa], bp
sete al
mov dword [esp + 0x10], 0
mov word [esp + 8], 0
movzx ecx, word [esp + 0x94]
mov word [esp + 4], cx
mov cl, byte [esp + 0x35]
add cl, cl
shl al, 2
shl bh, 6
or bh, al
or bh, byte [esp + 0x34]
or bh, cl
mov byte [esp + 2], bh
shl bl, 2
or bl, dl
mov byte [esp + 3], bl
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x18]
mov dword [esi], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x20], eax
movzx eax, word [esp + 8]
mov word [esi + 0x24], ax
movzx eax, word [esp + 0xa]
mov word [esi + 0x26], ax
movzx eax, word [esp + 4]
mov word [esi + 0x28], ax
mov al, byte [esp + 2]
mov byte [esi + 0x2a], al
mov al, byte [esp + 3]
mov byte [esi + 0x2b], al
mov eax, dword [esp + 0x54]
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x30], ecx
mov dword [esi + 0x2c], eax
movzx edx, dl
shl edx, 0x18
movzx ecx, cl
shl ecx, 0x10
or ecx, edx
movzx edx, bl
shl edx, 8
or edx, ecx
movzx edi, al
or edi, edx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0042fb70
mov eax, esi
mov edx, edi
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret