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

Disassembly:
push 0xffffffffffffffff
push 0x4b66bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, dword [esp + 0x38]
cmp word [esi], 0x4e41
push edi
mov edi, ecx
mov dword [esp + 0x18], edi
je 0x4230a3
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
mov eax, dword [esi + 4]
add esi, 4
mov ecx, dword [esi + 4]
add esi, 4
mov edx, dword [esi + 4]
add esi, 4
push ebx
mov ebx, dword [esi + 4]
add esi, 4
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x14], ebx
add esi, 4
mov dword [edi + 0x18], eax
mov dword [edi + 0x10], edx
movzx eax, word [esi]
lea ebx, [edi + 0x2c]
push eax
mov ecx, ebx
call fcn.00422ff0
mov al, byte [esi + 2]
add esi, 2
test al, al
je 0x4230ea
mov dword [edi + 0x44], 1
push ebp
add esi, 2
xor ebp, ebp
mov eax, dword [ebx + 8]
test eax, eax
mov dword [esp + 0x44], ebp
je 0x4230fe
mov eax, dword [eax + 0x10]
cmp ebp, eax
jge 0x4231e1
mov edx, dword [ebx]
test edx, edx
je 0x423185
mov ecx, dword [ebx + 8]
test ecx, ecx
jne 0x423117
xor ebp, ebp
jmp 0x42311a
mov ebp, dword [ecx + 0x10]
mov eax, dword [ebx + 4]
cmp eax, ebp
jae 0x42319c
test ecx, ecx
je 0x42312a
mov ecx, dword [ecx + 0xc]
jmp 0x42312c
xor ecx, ecx
mov ebp, dword [esp + 0x44]
add eax, ebp
imul eax, ecx
mov cx, word [esi]
add eax, edx
mov word [eax], cx
mov ecx, dword [ebx]
add esi, 2
test ecx, ecx
je 0x4231b3
mov edx, dword [ebx + 8]
test edx, edx
jne 0x423153
mov dword [esp + 0x44], edx
jmp 0x42315a
mov eax, dword [edx + 0x10]
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 4]
cmp eax, dword [esp + 0x44]
jae 0x4231ca
test edx, edx
je 0x42316c
mov edx, dword [edx + 0xc]
jmp 0x42316e
xor edx, edx
add eax, ebp
imul eax, edx
add eax, ecx
mov cx, word [esi]
add esi, 2
mov word [eax + 2], cx
inc ebp
jmp 0x4230f0
push 0x4ffd3c
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], 0x4f19e8
call fcn.00494fe2
push 0x4ffd2c
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 0x4f19ec
call fcn.00494fe2
push 0x4ffd3c
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 0x4f19e8
call fcn.00494fe2
push 0x4ffd2c
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], 0x4f19ec
call fcn.00494fe2
xor eax, eax
mov ax, word [esi]
movzx ebx, ax
add esi, 2
mov dword [esp + 0x1c], eax
mov eax, ebx
imul eax, eax, 0x44
add eax, 4
push eax
call fcn.00494da6
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
mov dword [esp + 0x3c], 0
je 0x42322b
push fcn.00416250
push fcn.004160f0
push ebx
lea ebp, [eax + 4]
push 0x44
push ebp
mov dword [eax], ebx
call fcn.0049602b
jmp 0x42322d
xor ebp, ebp
mov ecx, dword [edi + 0x28]
test ecx, ecx
mov dword [esp + 0x3c], 0xffffffff
je 0x423268
dec dword [ecx + 4]
jne 0x42325a
mov al, byte [ecx + 8]
test al, al
je 0x42324c
mov edx, dword [ecx]
call dword [edx]
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x42325a
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [edi + 0x28], 0
mov dword [edi + 0x20], 0
test ebx, ebx
jle 0x4232c0
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x42327a
mov edx, dword [ecx]
push 1
call dword [edx + 4]
push 0x18
mov dword [edi + 0x24], 0
mov dword [edi + 0x20], ebp
call fcn.00494d02
add esp, 4
test eax, eax
je 0x42329d
mov dword [eax], 0x4f522c
mov dword [eax + 0x14], ebp
jmp 0x42329f
xor eax, eax
mov dword [edi + 0x28], eax
mov dword [eax + 4], 1
mov eax, dword [edi + 0x28]
mov byte [eax + 8], 1
mov ecx, dword [edi + 0x28]
mov dword [ecx + 0xc], 0x44
mov edx, dword [edi + 0x28]
mov dword [edx + 0x10], ebx
cmp word [esp + 0x1c], 0
mov dword [esp + 0x10], 0
ja 0x4232f0
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
mov edi, dword [esp + 0x20]
jmp 0x4232f0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
add esi, 4
mov ebp, dword [esi + 4]
add esi, 4
mov edx, dword [esi + 4]
add esi, 4
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x20]
add esi, 4
test eax, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x44], edx
je 0x4234fe
mov edx, dword [edi + 0x28]
test edx, edx
jne 0x42332d
xor ebx, ebx
jmp 0x423330
mov ebx, dword [edx + 0x10]
mov ecx, dword [edi + 0x24]
cmp ecx, ebx
jae 0x423515
test edx, edx
je 0x423344
mov edx, dword [edx + 0xc]
jmp 0x423346
xor edx, edx
movzx ebx, word [esp + 0x10]
add ecx, ebx
imul ecx, edx
mov edx, dword [esp + 0x44]
push 0
push 1
add ecx, eax
mov eax, dword [ecx]
push edx
push ebp
call dword [eax + 0x78]
test eax, eax
jne 0x42352c
mov edx, dword [edi + 0x20]
test edx, edx
je 0x42354d
mov eax, dword [edi + 0x28]
test eax, eax
je 0x42337e
mov eax, dword [eax + 0x10]
mov ecx, dword [edi + 0x24]
cmp ecx, eax
jae 0x423564
mov eax, dword [edi + 0x28]
test eax, eax
je 0x423395
mov eax, dword [eax + 0xc]
jmp 0x423397
xor eax, eax
add ecx, ebx
imul ecx, eax
mov eax, dword [ecx + edx]
add ecx, edx
mov edx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push edx
call dword [eax + 0x80]
lea eax, [ebp*4]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x20]
test eax, eax
je 0x42357b
mov edx, dword [edi + 0x28]
test edx, edx
jne 0x4233d2
xor ebp, ebp
jmp 0x4233d5
mov ebp, dword [edx + 0x10]
mov ecx, dword [edi + 0x24]
cmp ecx, ebp
jae 0x423592
test edx, edx
je 0x4233e9
mov edx, dword [edx + 0xc]
jmp 0x4233eb
xor edx, edx
add ecx, ebx
imul ecx, edx
mov edx, dword [ecx + eax]
add ecx, eax
call dword [edx + 0x68]
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4235a9
mov edx, dword [edi + 0x28]
test edx, edx
jne 0x423417
mov dword [esp + 0x14], edx
jmp 0x42341e
mov ecx, dword [edx + 0x10]
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 0x24]
cmp ecx, dword [esp + 0x14]
jae 0x4235c0
test edx, edx
je 0x423434
mov edx, dword [edx + 0xc]
jmp 0x423436
xor edx, edx
add ecx, ebx
imul ecx, edx
mov edx, dword [ecx + eax]
add ecx, eax
call dword [edx + 0x68]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4235d7
mov edx, dword [edi + 0x28]
test edx, edx
jne 0x423460
xor ebp, ebp
jmp 0x423463
mov ebp, dword [edx + 0x10]
mov ecx, dword [edi + 0x24]
cmp ecx, ebp
jae 0x4235ee
test edx, edx
je 0x423477
mov edx, dword [edx + 0xc]
jmp 0x423479
xor edx, edx
add ecx, ebx
imul ecx, edx
mov edx, dword [ecx + eax]
add ecx, eax
call dword [edx + 0x68]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
test eax, eax
jle 0x4234da
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
lea edi, [ecx - 1]
imul edi, eax
mov ebx, eax
neg ebx
add edi, esi
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
push ecx
push edx
push ebp
push 0xc
push edi
call fcn.00488980
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x28]
add esp, 0x14
add ebp, edx
add edi, ebx
dec eax
mov dword [esp + 0x14], eax
jne 0x4234b1
mov eax, dword [esp + 0x18]
imul eax, dword [esp + 0x44]
add esi, eax
mov eax, dword [esp + 0x10]
inc eax
cmp ax, word [esp + 0x1c]
mov dword [esp + 0x10], eax
jb 0x4232e7
jmp 0x4232d0
push 0x4ffd3c
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x4c], 0x4f19e8
call fcn.00494fe2
push 0x4ffd2c
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x38], 0x4f19ec
call fcn.00494fe2
mov ecx, edi
call fcn.0041a4d0
mov ecx, dword [esp + 0x34]
pop ebp
pop ebx
pop edi
mov eax, 3
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 4
push 0x4ffd3c
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x4c], 0x4f19e8
call fcn.00494fe2
push 0x4ffd2c
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x38], 0x4f19ec
call fcn.00494fe2
push 0x4ffd3c
lea ecx, [esp + 0x48]
push ecx
mov dword [esp + 0x4c], 0x4f19e8
call fcn.00494fe2
push 0x4ffd2c
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x38], 0x4f19ec
call fcn.00494fe2
push 0x4ffd3c
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x4c], 0x4f19e8
call fcn.00494fe2
push 0x4ffd2c
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x38], 0x4f19ec
call fcn.00494fe2
push 0x4ffd3c
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x34], 0x4f19e8
call fcn.00494fe2
push 0x4ffd2c
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x30], 0x4f19ec
call fcn.00494fe2
int3