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

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
xor ebx, ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], ebx
mov esi, dword [edi + 8]
lea edx, [ebp + 8]
mov eax, dword [edi]
add esi, 0x28
mov ecx, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], esi
call fcn.004248b0
cmp dword [edi + 0x5c], 7
mov dword [edi + 0x14], ebx
jne 0x424a7d
mov eax, dword [esp + 0x14]
mov byte [eax + 0x40], 1
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov ecx, dword [edi + 0x64]
mov eax, dword [edi + 0x1c]
and ecx, 3
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
cmp ecx, 1
jne 0x424b02
mov eax, dword [edi + 8]
add eax, 0x168
mov dword [esp + 0x20], eax
test byte [eax + 0x1c], 0x10
je 0x424aae
mov ebp, dword [eax + 0x18]
mov ebx, dword [eax + 4]
shr ebp, 2
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x18], edx
cmp ebp, 2
jl 0x424ae0
xor esi, esi
lea edi, [ebp - 1]
mov eax, dword [ebx + ecx*4]
add edx, dword [eax + 4]
mov eax, dword [ebx + ecx*4 + 4]
add ecx, 2
add esi, dword [eax + 4]
cmp ecx, edi
jl 0x424ac0
mov edi, dword [esp + 0x28]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x24]
cmp ecx, ebp
jge 0x424aef
mov eax, dword [ebx + ecx*4]
mov ecx, dword [edi + 0x1c]
add ecx, dword [eax + 4]
jmp 0x424af2
mov ecx, dword [edi + 0x1c]
mov eax, dword [esp + 0x18]
add eax, edx
add ecx, eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi + 0x58]
lea eax, [edx + 1]
mov dword [edi + 0x58], eax
cmp edx, dword [esp + 0x18]
jge 0x424f33
cmp ecx, 2
jne 0x424b2a
mov eax, dword [edi + 4]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4], 0x96
mov ecx, dword [esp + 0x1c]
jne 0x424b02
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xe8], 0
je 0x424b72
mov eax, dword [str.interrupted]
mov ecx, str.unknown_error
test eax, eax
mov dword [edi + 0x5c], 9
mov esi, 1
cmovne ecx, eax
lea eax, [edi + 0x38]
push ecx
push 0x4f3e60
push dword [esp + 0x1c]
push eax
call fcn.004073c0
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [edi + 0x1c]
cmp edx, eax
jge 0x424b7e
mov eax, dword [edi + 4]
jmp 0x424ba2
sub edx, eax
xor ecx, ecx
mov eax, dword [ebx]
mov eax, dword [eax + 4]
cmp edx, eax
jl 0x424b9d
jmp 0x424b90
inc ecx
sub edx, eax
mov eax, dword [ebx + ecx*4]
mov eax, dword [eax + 4]
cmp edx, eax
jge 0x424b90
mov eax, dword [ebx + ecx*4]
mov eax, dword [eax]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [edi + 0x64]
and cl, 3
mov dword [esp + 0x14], eax
mov eax, 4
cmp cl, 1
jne 0x424c6f
mov word [esi + 0x1c], ax
mov eax, edx
cdq
mov dword [esi + 0x14], edx
mov edx, dword [esp + 0x14]
mov dword [esi + 0x10], eax
mov eax, 0xa02
mov byte [esi + 0x1e], cl
mov word [esi + 0x44], ax
movzx eax, byte [edx]
mov ecx, dword [eax*4 + 0x4f4718]
mov eax, ecx
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x424c02
cmp byte [ecx], 0
je 0x424bfb
inc eax
cmp byte [eax], 0
jne 0x424bf5
sub eax, ecx
and eax, 0x3fffffff
mov dword [esi + 0x40], eax
mov word [esi + 0x46], 0x103
add esi, 0x50
cmp byte [edx + 1], 0xee
jne 0x424c6f
lea ecx, [ebp*4 + 4]
xor eax, eax
mov dword [esp + 0x1c], ecx
test ebp, ebp
jle 0x424c36
mov ecx, dword [edx + 0x10]
cmp dword [ebx + eax*4], ecx
je 0x424c32
inc eax
cmp eax, ebp
jl 0x424c28
mov ecx, dword [esp + 0x1c]
cmp eax, ebp
jne 0x424c6f
mov ebx, dword [esp + 0x20]
xor eax, eax
test ebp, ebp
mov edx, ecx
mov ecx, ebx
setne al
push eax
call fcn.00422650
add esp, 4
test eax, eax
jne 0x424c6f
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 4]
mov eax, dword [eax + 0x10]
mov dword [ecx + ebp*4], eax
mov eax, dword [esp + 0x1c]
or word [ebx + 0x1c], 0x10
mov dword [ebx + 0x18], eax
mov ebx, dword [esp + 0x14]
mov ecx, 4
mov word [esi + 0x1c], cx
mov eax, dword [ebx + 4]
mov byte [esi + 0x1e], 1
cdq
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov word [esi + 0x44], cx
mov eax, dword [ebx + 8]
cdq
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
mov byte [esi + 0x46], 1
mov word [esi + 0x6c], cx
mov eax, dword [ebx + 0xc]
cdq
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], edx
mov byte [esi + 0x6e], 1
mov ecx, dword [esi + 0x78]
mov eax, dword [esi + 0x9c]
test ecx, ecx
je 0x424cd8
test eax, eax
je 0x424cd8
cmp eax, dword [ecx + 0x10c]
jb 0x424cd8
cmp eax, dword [ecx + 0x110]
jae 0x424cd8
movzx eax, word [ecx + 0xf0]
jmp 0x424ce2
push eax
call dword [0x510f4c]
add esp, 4
cmp eax, 0x20
jge 0x424d08
mov edx, dword [esi + 0x9c]
mov ecx, dword [esi + 0x78]
call fcn.00406fc0
mov ecx, dword [esi + 0x78]
mov edx, 0x20
call fcn.00407210
mov dword [esi + 0x9c], eax
mov eax, 0x400
test word [esi + 0x94], ax
je 0x424d28
mov eax, dword [esi + 0x98]
test eax, eax
je 0x424d28
push dword [esi + 0x7c]
call eax
add esp, 4
mov edx, dword [esi + 0x9c]
mov eax, 1
mov dword [esi + 0x7c], edx
test edx, edx
jne 0x424d43
mov word [esi + 0x94], ax
jmp 0x424d4f
mov ecx, 0xe7ff
and word [esi + 0x94], cx
mov dword [esi + 0x98], 0
test edx, edx
je 0x424f41
mov eax, 0x602
push ecx
mov ecx, ebx
mov word [esi + 0x94], ax
call fcn.004244d0
mov ecx, dword [esi + 0x7c]
mov ebp, eax
add esp, 4
cmp ebp, ecx
je 0x424e5c
test ebp, ebp
jne 0x424de3
test byte [esi + 0x94], 0x40
je 0x424da9
mov edx, dword [esi + 0x88]
mov ecx, dword [edx]
mov eax, dword [ecx + 0xc4]
mov dword [edx + 4], eax
mov dword [ecx + 0xc4], edx
test byte [esi + 0x94], 0x20
je 0x424dbd
mov ecx, dword [esi + 0x88]
call fcn.0040f9d0
mov ax, word [esi + 0x94]
mov ecx, 0xbe01
and ax, cx
mov byte [esi + 0x96], 5
or ax, 1
mov word [esi + 0x94], ax
jmp 0x424e81
mov eax, dword [esi + 0x78]
test eax, eax
je 0x424def
mov eax, dword [eax + 0x58]
jmp 0x424df4
mov eax, 0x3b9aca00
xor ebx, ebx
test eax, eax
js 0x424e0b
lea ebx, [ebx]
cmp byte [ebx + ebp], 0
je 0x424e0b
inc ebx
cmp ebx, eax
jle 0x424e00
xor eax, eax
lea ecx, [esi + 0x78]
cmp eax, 0x406f10
jne 0x424e29
call fcn.00422a40
mov dword [esi + 0x9c], ebp
mov eax, 0x202
jmp 0x424e33
call fcn.00422a40
mov eax, 0xa02
mov dword [esi + 0x90], ebx
mov ebx, dword [esp + 0x14]
mov dword [esi + 0x98], 0
mov dword [esi + 0x7c], ebp
mov word [esi + 0x94], ax
mov word [esi + 0x96], 0x103
jmp 0x424e81
mov eax, ecx
test ecx, ecx
je 0x424e74
cmp byte [ecx], 0
je 0x424e6d
inc eax
cmp byte [eax], 0
jne 0x424e67
sub eax, ecx
and eax, 0x3fffffff
mov dword [esi + 0x90], eax
mov byte [esi + 0x97], 1
mov byte [esi + 0x96], 3
mov eax, dword [edi + 0x64]
and al, 3
cmp al, 1
jne 0x424efa
push 0
mov edx, 4
lea ecx, [esi + 0xa0]
call fcn.00422650
add esp, 4
test eax, eax
jne 0x424a70
mov eax, 0x602
mov dword [esi + 0xb8], 2
mov word [esi + 0xbc], ax
movzx eax, byte [ebx + 3]
push eax
push str._.2x
push dword [esi + 0xa4]
push 3
call fcn.00408940
mov word [esi + 0xbe], 0x103
mov eax, 1
add esp, 0x10
mov word [esi + 0xe4], ax
mov byte [esi + 0xe6], 5
mov cx, word [edi + 0x64]
mov eax, 2
and cx, 3
mov dword [edi + 0x5c], 0
dec cx
mov esi, 0x64
sub ax, cx
shl ax, 2
mov word [edi + 0x2c], ax
mov eax, dword [edi + 8]
add eax, 0x28
mov dword [edi + 0x14], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov esi, 0x65
mov dword [edi + 0x5c], 0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret