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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 8
xor edi, edi
mov dword [ebp - 0xc], 0
mov ebx, dword [esi + 8]
mov eax, dword [esi]
add ebx, 0x28
push ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], ebx
call fcn.00448f40
add esp, 8
mov dword [esi + 0x14], edi
cmp dword [esi + 0x58], 7
jne 0x4810ad
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x36], 1
pop edi
pop esi
mov eax, 1
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 0x481144
mov eax, dword [esi + 8]
add eax, 0x168
mov dword [ebp - 0x1c], eax
test byte [eax + 0x1c], 0x10
je 0x4810e0
mov edx, dword [eax + 0x18]
mov edi, dword [eax + 4]
shr edx, 2
mov dword [ebp - 0xc], edx
jmp 0x4810e2
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp edx, 2
jb 0x481126
lea eax, [edx - 1]
xor edx, edx
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov esi, eax
mov eax, dword [edi + ecx*4]
add edx, dword [eax + 4]
mov eax, dword [edi + ecx*4 + 4]
add ecx, 2
add ebx, dword [eax + 4]
cmp ecx, esi
jl 0x481103
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
cmp ecx, edx
jge 0x481136
mov eax, dword [edi + ecx*4]
mov ecx, dword [esi + 0x1c]
add ecx, dword [eax + 4]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
add eax, dword [ebp - 0x14]
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 0x481435
cmp byte [ebp - 1], 2
jne 0x48116a
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4], 0x96
mov ecx, dword [ebp - 8]
jne 0x481144
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xe0], 0
je 0x4811a2
push str.interrupted
push 0x4c0398
push eax
lea eax, [esi + 0x34]
mov dword [esi + 0x58], 9
push eax
mov edi, 1
call fcn.004706a0
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 0x4811ae
mov eax, dword [esi + 4]
jmp 0x4811d2
sub edx, eax
xor ecx, ecx
mov eax, dword [edi]
mov eax, dword [eax + 4]
cmp edx, eax
jl 0x4811cd
nop dword [eax + eax]
inc ecx
sub edx, eax
mov eax, dword [edi + ecx*4]
mov eax, dword [eax + 4]
cmp edx, eax
jge 0x4811c0
mov eax, dword [edi + ecx*4]
mov eax, dword [eax]
cmp byte [esi + 0x5d], 1
lea ecx, [edx + edx*4]
lea ecx, [eax + ecx*4]
mov dword [ebp - 0x10], 0xa02
mov dword [ebp + 8], ecx
mov eax, 4
jne 0x4812b0
mov word [ebx + 0x1c], ax
mov eax, edx
cdq
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x10]
mov word [ebx + 0x44], ax
mov byte [ebx + 0x1e], 1
mov dword [ebx + 0x14], edx
movzx eax, byte [ecx]
mov ecx, dword [eax*4 + 0x4bd3c8]
mov eax, ecx
mov dword [ebx + 0x2c], ecx
test ecx, ecx
je 0x48122e
cmp byte [ecx], 0
je 0x481227
inc eax
cmp byte [eax], 0
jne 0x481221
sub eax, ecx
and eax, 0x3fffffff
mov dword [ebx + 0x40], eax
mov eax, dword [ebp + 8]
mov word [ebx + 0x46], 0x103
add ebx, 0x50
mov edx, ebx
mov dword [ebp - 0x14], edx
cmp byte [eax + 1], 0xee
jne 0x4812b0
mov ecx, dword [ebp - 0xc]
lea eax, [ecx*4]
mov dword [ebp - 0x18], eax
xor eax, eax
test ecx, ecx
je 0x48126e
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x10]
cmp dword [edi + eax*4], edx
je 0x48126b
inc eax
cmp eax, ecx
jl 0x481261
mov edx, dword [ebp - 0x14]
mov ebx, edx
cmp eax, ecx
jne 0x4812b0
mov edi, dword [ebp - 0x1c]
xor eax, eax
test ecx, ecx
setne al
push eax
mov eax, dword [ebp - 0x18]
add eax, 4
push eax
push edi
call fcn.00481cf0
add esp, 0xc
test eax, eax
jne 0x4812b0
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov ecx, dword [edi + 4]
mov ebx, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
mov dword [edx + ecx], eax
lea eax, [edx + 4]
or word [edi + 0x1c], 0x10
mov dword [edi + 0x18], eax
mov edi, dword [ebp + 8]
mov ecx, 4
mov word [ebx + 0x1c], cx
push 0
push 0x20
mov eax, dword [edi + 4]
cdq
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edx
mov byte [ebx + 0x1e], 1
mov word [ebx + 0x44], cx
mov eax, dword [edi + 8]
cdq
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], edx
mov byte [ebx + 0x46], 1
mov word [ebx + 0x6c], cx
mov eax, dword [edi + 0xc]
cdq
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x64], edx
mov byte [ebx + 0x6e], 1
add ebx, 0x78
push ebx
call fcn.00481cf0
add esp, 0xc
test eax, eax
jne 0x4810a1
push 0x20
push dword [ebx + 4]
mov eax, 0x602
push edi
mov word [ebx + 0x1c], ax
call fcn.00434710
mov ecx, dword [ebx + 4]
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp eax, ecx
je 0x481380
test eax, eax
jne 0x481336
push ebx
call fcn.00482230
add esp, 4
jmp 0x4813a4
mov ecx, dword [ebx]
test ecx, ecx
je 0x481347
mov ecx, dword [ecx + 0x4c]
xor edi, edi
test ecx, ecx
js 0x48135b
jmp 0x48134c
mov ecx, 0x3b9aca00
xor edi, edi
nop
cmp byte [edi + eax], 0
je 0x48135b
inc edi
cmp edi, ecx
jle 0x481350
push ebx
call fcn.00482110
mov eax, dword [ebp - 0x20]
add esp, 4
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], edi
mov edi, dword [ebp + 8]
mov word [ebx + 0x1c], ax
jmp 0x4813a0
mov eax, ecx
test ecx, ecx
je 0x48139d
cmp byte [ecx], 0
je 0x481396
nop dword [eax + eax]
inc eax
cmp byte [eax], 0
jne 0x481390
sub eax, ecx
and eax, 0x3fffffff
mov dword [ebx + 0x18], eax
mov byte [ebx + 0x1f], 1
mov byte [ebx + 0x1e], 3
add ebx, 0x28
mov al, byte [esi + 0x5d]
cmp al, 1
jne 0x481404
push 0
push 4
push ebx
call fcn.00481cf0
add esp, 0xc
test eax, eax
jne 0x4810a1
mov eax, 0x602
mov dword [ebx + 0x18], 2
mov word [ebx + 0x1c], ax
movzx eax, byte [edi + 3]
push eax
push str._.2x
push dword [ebx + 4]
push 3
call fcn.00421e70
mov eax, 1
mov word [ebx + 0x1e], 0x103
mov word [ebx + 0x44], ax
add esp, 0x10
mov byte [ebx + 0x46], 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
pop edi
mov word [esi + 0x2c], cx
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