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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], 0
push edi
xor ebx, ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], ebx
mov edi, dword [esi + 8]
mov eax, dword [esi]
add edi, 0x28
lea edx, [ebx + 8]
mov dword [ebp - 0xc], eax
mov ecx, edi
mov dword [ebp - 0x24], edi
call fcn.00424f70
cmp dword [esi + 0x58], 7
mov dword [esi + 0x14], ebx
jne 0x42507e
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x36], 1
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [esi + 0x5d]
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 8], ecx
mov byte [ebp - 1], al
cmp al, 1
jne 0x425115
mov eax, dword [esi + 8]
add eax, 0x168
mov dword [ebp - 0x1c], eax
test byte [eax + 0x1c], 0x10
je 0x4250b1
mov edx, dword [eax + 0x18]
mov ebx, dword [eax + 4]
shr edx, 2
mov dword [ebp - 0x10], edx
jmp 0x4250b3
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
cmp edx, 2
jb 0x4250f7
lea eax, [edx - 1]
xor edx, edx
mov dword [ebp - 0x18], eax
xor edi, edi
mov esi, eax
mov eax, dword [ebx + ecx*4]
add edx, dword [eax + 4]
mov eax, dword [ebx + ecx*4 + 4]
add ecx, 2
add edi, dword [eax + 4]
cmp ecx, esi
jl 0x4250d4
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x10]
cmp ecx, edx
jge 0x425107
mov eax, dword [ebx + ecx*4]
mov ecx, dword [esi + 0x1c]
add ecx, dword [eax + 4]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
add eax, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 8], ecx
mov edx, dword [esi + 0x54]
lea eax, [edx + 1]
mov dword [esi + 0x54], eax
cmp edx, ecx
jge 0x425485
cmp byte [ebp - 1], 2
jne 0x42513b
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4], 0x96
mov ecx, dword [ebp - 8]
jne 0x425115
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xe0], 0
je 0x425180
mov eax, dword [str.interrupted]
mov ecx, str.unknown_error
test eax, eax
mov dword [esi + 0x58], 9
mov edi, 1
cmovne ecx, eax
lea eax, [esi + 0x34]
push ecx
push 0x492a88
push dword [ebp - 0xc]
push eax
call fcn.0040a1f0
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x1c]
cmp edx, eax
jge 0x42518c
mov eax, dword [esi + 4]
jmp 0x4251b2
sub edx, eax
xor ecx, ecx
mov eax, dword [ebx]
mov eax, dword [eax + 4]
cmp edx, eax
jl 0x4251ad
nop dword [eax]
inc ecx
sub edx, eax
mov eax, dword [ebx + ecx*4]
mov eax, dword [eax + 4]
cmp edx, eax
jge 0x4251a0
mov eax, dword [ebx + ecx*4]
mov eax, dword [eax]
cmp byte [esi + 0x5d], 1
lea ecx, [edx + edx*4]
lea ecx, [eax + ecx*4]
mov eax, 4
mov dword [ebp - 8], ecx
jne 0x425290
mov word [edi + 0x1c], ax
mov eax, edx
cdq
mov dword [edi + 0x10], eax
mov eax, 0xa02
mov byte [edi + 0x1e], 1
mov dword [edi + 0x14], edx
mov word [edi + 0x44], ax
movzx eax, byte [ecx]
mov ecx, dword [eax*4 + 0x499918]
mov eax, ecx
mov dword [edi + 0x2c], ecx
test ecx, ecx
je 0x42520d
cmp byte [ecx], 0
je 0x425206
nop dword [eax]
inc eax
cmp byte [eax], 0
jne 0x425200
sub eax, ecx
and eax, 0x3fffffff
mov edx, dword [ebp - 8]
mov dword [edi + 0x40], eax
mov word [edi + 0x46], 0x103
add edi, 0x50
mov dword [ebp - 0x18], edi
cmp byte [edx + 1], 0xee
jne 0x425290
mov ecx, dword [ebp - 0x10]
lea eax, [ecx*4]
mov dword [ebp - 0x24], eax
xor eax, eax
test ecx, ecx
je 0x42524a
mov edx, dword [edx + 0x10]
nop dword [eax + eax]
cmp dword [ebx + eax*4], edx
je 0x42524a
inc eax
cmp eax, ecx
jl 0x425240
mov edx, dword [ebp - 0x18]
mov edi, edx
cmp eax, ecx
jne 0x425290
mov ebx, dword [ebp - 0x1c]
lea edx, [ecx*4]
xor eax, eax
lea edx, [edx + 4]
test ecx, ecx
mov ecx, ebx
setne al
push eax
call fcn.00422be0
add esp, 4
test eax, eax
jne 0x425290
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebx + 4]
mov eax, dword [eax + 0x10]
mov dword [edx + ecx], eax
lea eax, [edx + 4]
or word [ebx + 0x1c], 0x10
mov dword [ebx + 0x18], eax
mov ebx, dword [ebp - 8]
mov ecx, 4
mov word [edi + 0x1c], cx
mov eax, dword [ebx + 4]
mov byte [edi + 0x1e], 1
cdq
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
mov word [edi + 0x44], cx
mov eax, dword [ebx + 8]
cdq
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], edx
mov byte [edi + 0x46], 1
mov word [edi + 0x6c], cx
mov eax, dword [ebx + 0xc]
cdq
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], edx
mov byte [edi + 0x6e], 1
mov eax, dword [edi + 0x78]
mov edx, dword [edi + 0x9c]
test eax, eax
je 0x4252f8
test edx, edx
je 0x4252f8
cmp edx, dword [eax + 0x104]
jb 0x4252f8
cmp edx, dword [eax + 0x108]
jae 0x4252f8
movzx eax, word [eax + 0xe8]
jmp 0x425308
push edx
call dword [0x49f968]
mov edx, dword [edi + 0x9c]
add esp, 4
cmp eax, 0x20
jge 0x425328
mov ecx, dword [edi + 0x78]
call fcn.00409df0
mov ecx, dword [edi + 0x78]
mov edx, 0x20
call fcn.0040a050
mov dword [edi + 0x9c], eax
mov eax, 0x400
test word [edi + 0x94], ax
je 0x425348
mov eax, dword [edi + 0x98]
test eax, eax
je 0x425348
push dword [edi + 0x7c]
call eax
add esp, 4
mov edx, dword [edi + 0x9c]
mov eax, 1
mov dword [edi + 0x7c], edx
test edx, edx
jne 0x425363
mov word [edi + 0x94], ax
jmp 0x42536f
mov eax, 0xe7ff
and word [edi + 0x94], ax
mov dword [edi + 0x98], 0
test edx, edx
je 0x425072
mov eax, 0x602
push ecx
mov ecx, ebx
mov word [edi + 0x94], ax
call fcn.00424b80
mov ecx, dword [edi + 0x7c]
add esp, 4
cmp eax, ecx
je 0x4253b4
push 0
push 1
push 0xffffffffffffffff
mov edx, eax
lea ecx, [edi + 0x78]
call fcn.00423690
add esp, 0xc
jmp 0x4253da
mov eax, ecx
test ecx, ecx
je 0x4253cd
cmp byte [ecx], 0
je 0x4253c6
nop
inc eax
cmp byte [eax], 0
jne 0x4253c0
sub eax, ecx
and eax, 0x3fffffff
mov dword [edi + 0x90], eax
mov byte [edi + 0x97], 1
mov byte [edi + 0x96], 3
mov al, byte [esi + 0x5d]
cmp al, 1
jne 0x425454
push 0
mov edx, 4
lea ecx, [edi + 0xa0]
call fcn.00422be0
add esp, 4
test eax, eax
jne 0x425072
mov eax, 0x602
mov dword [edi + 0xb8], 2
mov word [edi + 0xbc], ax
movzx eax, byte [ebx + 3]
push eax
push str._.2x
push dword [edi + 0xa4]
push 3
call fcn.0040b790
mov word [edi + 0xbe], 0x103
mov eax, 1
mov word [edi + 0xe4], ax
add esp, 0x10
mov byte [edi + 0xe6], 5
mov al, byte [esi + 0x5d]
movzx eax, al
mov ecx, 3
sub cx, ax
mov dword [esi + 0x58], 0
mov eax, dword [esi + 8]
mov edi, 0x64
shl cx, 2
add eax, 0x28
mov dword [esi + 0x14], eax
mov eax, edi
mov word [esi + 0x2c], cx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 0x65
mov dword [esi + 0x58], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret