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

Disassembly:
mov eax, dword [esp + 0x1c]
push ebx
push ebp
xor edx, edx
push esi
xor ebp, ebp
cmp eax, edx
push edi
je 0x423d6b
mov ecx, dword [str.1.1.4]
mov al, byte [eax]
cmp al, byte [ecx]
jne 0x423d6b
cmp dword [esp + 0x30], 0x38
jne 0x423d6b
mov edi, dword [esp + 0x14]
cmp edi, edx
jne 0x423ad1
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
ret
cmp dword [edi + 0x20], edx
mov dword [edi + 0x18], edx
jne 0x423ae3
mov dword [edi + 0x20], 0x425690
mov dword [edi + 0x28], edx
cmp dword [edi + 0x24], edx
jne 0x423aef
mov dword [edi + 0x24], 0x4256b0
mov ecx, dword [esp + 0x18]
cmp ecx, 0xffffffff
jne 0x423b04
mov dword [esp + 0x18], 6
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
cmp ebx, edx
jge 0x423b13
mov ebp, 1
neg ebx
mov eax, dword [esp + 0x24]
cmp eax, 1
jl 0x423ac7
cmp eax, 9
jg 0x423ac7
cmp dword [esp + 0x1c], 8
jne 0x423ac7
cmp ebx, 9
jl 0x423ac7
cmp ebx, 0xf
jg 0x423ac7
cmp ecx, edx
jl 0x423ac7
cmp ecx, 9
jg 0x423ac7
mov eax, dword [esp + 0x28]
cmp eax, edx
jl 0x423ac7
cmp eax, 2
jg 0x423ac7
mov edx, dword [edi + 0x28]
push 0x16b8
push 1
push edx
call dword [edi + 0x20]
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x423b6d
pop edi
pop esi
pop ebp
mov eax, 0xfffffffc
pop ebx
ret
mov dword [edi + 0x1c], esi
mov dword [esi + 0x18], ebp
mov ecx, ebx
mov ebp, 1
shl ebp, cl
mov dword [esi + 0x28], ebx
mov ebx, dword [esp + 0x24]
lea ecx, [ebx + 7]
lea eax, [ebp - 1]
mov dword [esi + 0x2c], eax
mov eax, 1
shl eax, cl
mov dword [esi + 0x48], ecx
add ecx, 2
push 2
mov dword [esi + 0x44], eax
dec eax
mov dword [esi + 0x4c], eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
mov dword [esi], edi
mov dword [esi + 0x24], ebp
mov dword [esi + 0x50], edx
mov ecx, dword [edi + 0x28]
push ebp
push ecx
call dword [edi + 0x20]
mov edx, dword [esi + 0x24]
push 2
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x28]
push edx
push eax
call dword [edi + 0x20]
mov ecx, dword [esi + 0x44]
push 2
mov dword [esi + 0x38], eax
mov edx, dword [edi + 0x28]
push ecx
push edx
call dword [edi + 0x20]
mov dword [esi + 0x3c], eax
lea ecx, [ebx + 6]
mov eax, 1
shl eax, cl
push 4
push eax
mov dword [esi + 0x1694], eax
mov eax, dword [edi + 0x28]
push eax
call dword [edi + 0x20]
mov ecx, dword [esi + 0x1694]
lea edx, [ecx*4]
mov dword [esi + 0xc], edx
mov edx, dword [esi + 0x30]
xor ebp, ebp
add esp, 0x30
cmp edx, ebp
mov dword [esi + 8], eax
je 0x423d50
cmp dword [esi + 0x38], ebp
je 0x423d50
cmp dword [esi + 0x3c], ebp
je 0x423d50
cmp eax, ebp
je 0x423d50
mov edx, ecx
shr edx, 1
lea edx, [eax + edx*2]
lea eax, [eax + ecx*2]
add ecx, eax
mov dword [esi + 0x169c], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 0x1690], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x80], edx
mov byte [esi + 0x1d], 8
mov esi, dword [edi + 0x1c]
cmp esi, ebp
je 0x423d44
cmp dword [edi + 0x20], ebp
je 0x423d44
cmp dword [edi + 0x24], ebp
je 0x423d44
mov dword [edi + 0x14], ebp
mov dword [edi + 8], ebp
mov dword [edi + 0x18], ebp
mov ebx, 2
mov dword [edi + 0x2c], ebx
mov eax, dword [esi + 8]
mov dword [esi + 0x10], eax
cmp dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebp
jge 0x423ca1
mov dword [esi + 0x18], ebp
mov ecx, dword [esi + 0x18]
neg ecx
sbb ecx, ecx
and ecx, 0x47
add ecx, 0x2a
mov dword [esi + 4], ecx
mov dword [edi + 0x30], 1
push esi
mov dword [esi + 0x20], ebp
call fcn.004256c0
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x3c]
shl edx, 1
mov dword [esi + 0x34], edx
mov word [ecx + eax*2 - 2], bp
mov edx, dword [esi + 0x44]
mov edi, dword [esi + 0x3c]
lea ecx, [edx + edx - 2]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x7c]
add esp, 4
lea eax, [eax + eax*2]
shl eax, 2
movzx ecx, word [eax + 0x42c232]
mov dword [esi + 0x78], ecx
movzx edx, word [eax + 0x42c230]
mov dword [esi + 0x84], edx
movzx ecx, word [eax + 0x42c234]
mov dword [esi + 0x88], ecx
movzx edx, word [eax + 0x42c236]
pop edi
mov dword [esi + 0x64], ebp
mov dword [esi + 0x54], ebp
mov dword [esi + 0x6c], ebp
mov dword [esi + 0x70], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebp
mov dword [esi + 0x40], ebp
mov dword [esi + 0x74], edx
pop esi
mov eax, ebp
pop ebp
pop ebx
ret
pop edi
mov ebp, 0xfffffffe
pop esi
mov eax, ebp
pop ebp
pop ebx
ret
mov eax, dword [str.insufficient_memory]
push edi
mov dword [edi + 0x18], eax
call fcn.004241c0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0xfffffffc
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 0xfffffffa
pop ebx
ret