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

Disassembly:
sub esp, 0x654
push ebx
push ebp
push esi
mov esi, dword [0x4f9988]
push edi
xor edi, edi
cmp esi, edi
jne 0x4183f3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x654
ret
cmp byte [esi], 0
jne 0x418411
mov dword [esi + 0x400], edi
mov dword [0x4f9988], edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x654
ret
mov eax, dword [0x581b44]
mov ecx, dword [0x4f99a0]
mov edx, dword [eax]
xor ebx, ebx
cmp ecx, edx
mov dword [esp + 0x1c], ebx
je 0x4184a0
cmp dword [0x4a3814], edi
jne 0x418498
cmp dword [0x4f8968], edi
jne 0x418498
call fcn.004204b0
mov ebx, eax
or ecx, 0xffffffff
xor eax, eax
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
add ebp, 3
mov edx, 0x9c40
sub edx, ebp
push edx
lea eax, [ebx + ebp]
push eax
push ebx
call fcn.00458090
mov edi, ebx
sub edi, ebp
lea ecx, [ebp - 2]
mov edx, ecx
shr ecx, 2
add edi, 0x9c40
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov word [ebx + 0x9c3e], bp
mov esi, dword [0x4f9988]
mov eax, dword [0x581b44]
mov ebx, dword [esp + 0x28]
add esp, 0xc
xor edi, edi
mov ecx, dword [eax]
mov dword [0x4f99a0], ecx
cmp dword [0x4f8960], edi
jne 0x4184fe
cmp dword [0x4a3814], edi
jne 0x4184fe
mov ecx, dword [eax]
mov edx, dword [esp + 0x668]
sub ecx, edx
mov dword [eax], ecx
cmp dword [0x4f8960], edi
jne 0x4184e9
cmp dword [0x4a3814], edi
jne 0x4184e9
push edi
call fcn.0041f630
push edi
call fcn.0041f630
push edi
push 2
push 0xf7a4c8d8
call fcn.00409cb0
add esp, 0x14
pop edi
pop esi
mov eax, 1
pop ebp
mov dword [0x4f8960], eax
pop ebx
add esp, 0x654
ret
push 0x7c
push esi
call fcn.0045843b
add esp, 8
cmp eax, edi
je 0x418524
mov byte [eax], 0x20
mov eax, dword [0x4f9988]
push 0x7c
push eax
call fcn.0045843b
add esp, 8
cmp eax, edi
jne 0x41850d
mov ecx, dword [0x4f9988]
push 0x8175
push ecx
call fcn.0045843b
add esp, 8
test eax, eax
je 0x418546
mov dword [0x4a8840], 1
mov edx, dword [0x4f9988]
push 0x8176
push edx
call fcn.0045843b
add esp, 8
test eax, eax
je 0x418564
mov dword [0x4a8840], edi
call fcn.00425760
test eax, eax
je 0x418761
mov eax, dword [0x4f9988]
push 0x8175
push eax
call fcn.0045843b
add esp, 8
test eax, eax
je 0x418618
cmp eax, dword [0x4f9988]
je 0x418618
mov ecx, dword [0x581b44]
mov esi, dword [ecx]
mov edx, dword [esp + 0x668]
sub esi, edx
mov dword [ecx], esi
mov edx, dword [0x4f9988]
sub eax, edx
mov ecx, eax
mov ebx, ecx
shr ecx, 2
mov esi, edx
lea edi, [esp + 0x464]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [edx + eax]
mov byte [esp + eax + 0x464], 0
or ecx, 0xffffffff
xor eax, eax
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push edx
call fcn.00458090
lea eax, [esp + 0x470]
push eax
call fcn.0041f730
push 0
push 1
push 0x44a4ff72
call fcn.00409cb0
add esp, 0x1c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x654
ret
mov ebp, 0x488fc0
mov ecx, dword [ebp]
mov edx, dword [0x4f9988]
push ecx
push edx
call fcn.004583c5
mov edx, eax
add esp, 8
test edx, edx
je 0x418657
or ecx, 0xffffffff
lea esi, [edx + 2]
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov eax, ecx
shr ecx, 2
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ebx, 5
add ebp, 4
cmp ebp, 0x488fc8
jb 0x41861d
mov dword [esp + 0x1c], ebx
mov ebp, 0x488fc8
mov ecx, dword [ebp]
mov edx, dword [0x4f9988]
push ecx
push edx
call fcn.004583c5
mov edx, eax
add esp, 8
test edx, edx
je 0x4186a6
or ecx, 0xffffffff
lea esi, [edx + 4]
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov eax, ecx
shr ecx, 2
lea edi, [edx + 2]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ebx, 6
add ebp, 4
cmp ebp, 0x488fd0
jb 0x41866b
mov ecx, dword [0x4f9988]
push 0x4891b4
push ecx
mov dword [esp + 0x24], ebx
call fcn.004583c5
mov edx, eax
add esp, 8
test edx, edx
je 0x418722
mov eax, dword [0x4a3814]
test eax, eax
jle 0x4186fd
mov ax, word [0x4891b0]
or ecx, 0xffffffff
mov word [edx], ax
lea esi, [edx + 4]
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea edi, [edx + 2]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x418716
or ecx, 0xffffffff
lea esi, [edx + 4]
xor eax, eax
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
mov eax, ecx
shr ecx, 2
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
or ebx, 1
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x1c], ebx
mov ecx, dword [0x4f9988]
push 0x4891a8
push ecx
call fcn.004583c5
mov edx, eax
add esp, 8
test edx, edx
je 0x418761
or ecx, 0xffffffff
lea esi, [edx + 4]
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov edi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
or ebx, 2
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x1c], ebx
mov eax, dword [0x4a4e94]
mov esi, dword [0x4a4e60]
mov edx, dword [0x4a4e8c]
mov ecx, dword [0x4a4e84]
sub eax, esi
add eax, edx
cmp ecx, eax
jle 0x4187f5
call fcn.0040ba30
test eax, eax
jne 0x418796
push str.message_:
call fcn.0040a9a0
add esp, 4
mov ecx, dword [0x4a4e88]
mov edx, dword [0x4a4e8c]
mov eax, dword [0x581b44]
mov dword [0x4a4e80], ecx
mov ecx, dword [esp + 0x668]
mov dword [0x4a4e84], edx
mov dword [0x4a4e98], 0
sub dword [eax], ecx
call fcn.0040ba30
test eax, eax
jne 0x4187d4
call fcn.004255b0
push 0
push 0
push 0x93b38a0b
call fcn.00409cb0
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x654
ret
mov ebx, dword [0x4f9988]
mov ebp, 0x4a4e38
xor edi, edi
mov dword [esp + 0x10], ebp
mov byte [esp + 0x64], 0
mov dword [esp + 0x38], edi
call fcn.0040ba30
test eax, eax
je 0x418835
mov byte [ebx], 0
call fcn.0040ba60
test eax, eax
jne 0x418e4d
mov dword [esp + 0x38], 1
jmp 0x418e4d
cmp byte [ebx], 0
je 0x418e4d
xor edx, edx
cmp edx, 0x4a4e38
jne 0x418851
mov ebp, 0x488f50
mov dword [esp + 0x10], ebp
call fcn.00425710
test eax, eax
je 0x418914
mov eax, dword [ebp + 0x60]
cmp eax, edi
je 0x418914
mov ecx, dword [ebp + 0x50]
add ecx, eax
cmp dword [ebp + 0x48], ecx
jne 0x418914
mov ax, word [ebx]
mov edx, 0x489180
cmp ax, word [edx]
jne 0x4188ac
lea esi, [ebx + 2]
or ecx, 0xffffffff
xor eax, eax
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push ebx
call fcn.00458090
mov dx, word [ebx]
mov ecx, 0x489180
add esp, 0xc
cmp dx, word [ecx]
je 0x418887
xor edi, edi
mov cl, byte [ebx]
mov eax, 0x488128
cmp cl, byte [eax]
jne 0x4188df
lea esi, [ebx + 1]
or ecx, 0xffffffff
xor eax, eax
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push ebx
call fcn.00458090
mov al, byte [ebx]
mov edx, 0x488128
mov cl, byte [edx]
add esp, 0xc
cmp al, cl
je 0x4188ba
xor edi, edi
mov dx, word [ebx]
mov ecx, 0x489180
cmp dx, word [ecx]
jne 0x418914
lea esi, [ebx + 2]
or ecx, 0xffffffff
xor eax, eax
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push ebx
call fcn.00458090
mov cx, word [ebx]
mov eax, 0x489180
add esp, 0xc
cmp cx, word [eax]
je 0x4188ef
xor edi, edi
mov eax, dword [0x488fbc]
sub eax, edi
je 0x418931
dec eax
je 0x418938
dec eax
jne 0x418938
call fcn.0040ba70
neg eax
sbb eax, eax
inc eax
cmp eax, edi
jne 0x418938
mov eax, 1
jmp 0x41893d
mov eax, 4
push eax
push ebp
mov dword [esp + 0x4c], eax
call fcn.00414650
mov ecx, dword [ebp + 0x50]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x58]
lea edx, [esp + 0x6c]
mov dword [esp + 0x30], edx
sub eax, dword [ebp + 0x48]
add eax, ecx
mov byte [esp + 0x6c], 0
mov dword [esp + 0x44], eax
mov al, byte [ebx]
add esp, 8
test al, al
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], edi
je 0x418e4d
mov dword [esp + 0x40], 0x4a4ea4
mov edi, dword [esp + 0x28]
push ebx
mov dword [esp + 0x24], edi
call fcn.00458c17
mov ebp, eax
sub eax, ebx
mov ecx, eax
mov edx, ecx
shr ecx, 2
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
add esp, 4
cmp eax, 2
rep movsb byte es:[edi], byte [esi]
jl 0x4189d1
mov esi, dword [esp + 0x28]
xor ecx, ecx
mov cl, byte [esi + 1]
xor edx, edx
mov dl, byte [esi]
shl ecx, 8
add ecx, edx
mov dword [esp + 0x2c], ecx
jmp 0x4189df
mov edx, dword [esp + 0x28]
xor ecx, ecx
mov cl, byte [edx]
mov esi, edx
mov dword [esp + 0x2c], ecx
add esi, eax
mov eax, dword [esp + 0x48]
test eax, eax
mov dword [esp + 0x28], esi
mov byte [esi], 0
je 0x418a0d
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax*4 + 0x4b8954]
test ecx, ecx
je 0x418a0d
xor ecx, ecx
mov cl, byte [eax + 0x4a8954]
mov eax, ecx
test eax, eax
jne 0x418a50
or ecx, 0xffffffff
xor eax, eax
lea edi, [esp + 0x2c]
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x4c]
push edx
dec ecx
push ecx
mov ecx, dword [0x4f9994]
lea eax, [esp + 0x34]
push eax
push ecx
call dword [0x482070]
cmp dword [esp + 0x44], 4
jne 0x418a4c
mov edx, dword [esp + 0x4c]
lea eax, [edx + 3]
cdq
and edx, 3
add eax, edx
sar eax, 2
jmp 0x418a50
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
add esi, eax
mov dword [ecx], eax
add ecx, 4
inc edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x40], ecx
call fcn.004257a0
cmp eax, 2
jl 0x418b1d
call fcn.004257a0
mov ecx, dword [esp + 0x10]
imul eax, dword [ecx + 0x2c]
mov edx, dword [esp + 0x3c]
shl eax, 1
sub edx, eax
cmp esi, edx
jle 0x418b1d
mov eax, dword [esp + 0x24]
test eax, eax
je 0x418b0c
mov eax, dword [0x4f9990]
test eax, eax
jne 0x418ad2
push 0x489168
push 0x100
push 0x4a381c
push str.GYOUMATUKINSOKU
call fcn.00449a60
add esp, 0x10
mov dword [0x4f9990], 1
mov edi, dword [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 2
jb 0x418b0c
mov eax, dword [esp + 0x24]
mov cx, word [eax]
lea edx, [esp + 0x34]
push edx
push 0x4a381c
mov word [esp + 0x3c], cx
mov byte [esp + 0x3e], 0
call fcn.00458d00
add esp, 8
test eax, eax
jne 0x418b1d
push ebx
call fcn.004190a0
add esp, 4
test eax, eax
je 0x418ca0
mov edi, dword [esp + 0x3c]
cmp esi, edi
jg 0x418cc2
or ecx, 0xffffffff
xor eax, eax
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
push ecx
push ebp
push ebx
call fcn.00458090
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
add esp, 0xc
mov dword [esp + 0x24], ecx
mov esi, 0x489154
mov eax, ecx
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x418b7a
test cl, cl
je 0x418b76
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x418b7a
add eax, 2
add esi, 2
test cl, cl
jne 0x418b56
xor eax, eax
jmp 0x418b7f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x418ba9
call fcn.00425710
test eax, eax
je 0x418b9e
call fcn.00425730
add eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x60], eax
jmp 0x418ba9
mov edx, dword [esp + 0x10]
mov dword [edx + 0x60], 0
mov eax, dword [esp + 0x20]
mov esi, 0x489150
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x418bd6
test cl, cl
je 0x418bd2
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x418bd6
add eax, 2
add esi, 2
test cl, cl
jne 0x418bb2
xor eax, eax
jmp 0x418bdb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x418bea
mov eax, dword [esp + 0x10]
mov dword [eax + 0x60], 0
test byte [esp + 0x1c], 4
je 0x418c92
mov eax, dword [esp + 0x20]
mov esi, 0x48914c
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x418c22
test cl, cl
je 0x418c1e
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x418c22
add eax, 2
add esi, 2
test cl, cl
jne 0x418bfe
xor eax, eax
jmp 0x418c27
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x418c51
call fcn.00425710
test eax, eax
je 0x418c46
call fcn.00425730
add eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x60], eax
jmp 0x418c51
mov edx, dword [esp + 0x10]
mov dword [edx + 0x60], 0
mov eax, dword [esp + 0x20]
mov esi, 0x489148
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x418c7e
test cl, cl
je 0x418c7a
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x418c7e
add eax, 2
add esi, 2
test cl, cl
jne 0x418c5a
xor eax, eax
jmp 0x418c83
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x418c92
mov eax, dword [esp + 0x10]
mov dword [eax + 0x60], 0
cmp byte [ebx], 0
jne 0x41898d
jmp 0x418e08
mov eax, dword [esp + 0x14]
mov ecx, dword [eax*4 + 0x4a4ea0]
dec eax
sub esi, ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
mov byte [ecx], 0
jmp 0x418e08
mov eax, dword [esp + 0x14]
mov ecx, dword [eax*4 + 0x4a4ea0]
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
dec eax
sub esi, ecx
test ebp, ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
mov byte [edx], 0
je 0x418e08
call fcn.004257a0
test eax, eax
jne 0x418d14
push ebp
call fcn.00419120
add esp, 4
test eax, eax
jne 0x418d44
push ebx
call fcn.004190a0
add esp, 4
test eax, eax
je 0x418e08
jmp 0x418d44
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x2c]
lea edx, [esi + ecx*2]
cmp edx, edi
jle 0x418e08
push ebp
call fcn.004190a0
add esp, 4
test eax, eax
je 0x418d44
push ebx
call fcn.004190a0
add esp, 4
test eax, eax
je 0x418e08
mov eax, dword [esp + 0x30]
test eax, eax
je 0x418e08
push eax
call fcn.00419120
add esp, 4
test eax, eax
jne 0x418d9a
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
dec eax
mov dword [esp + 0x14], eax
mov eax, dword [eax*4 + 0x4a4ea4]
sub edi, eax
or ecx, 0xffffffff
mov dword [esp + 0x18], edi
xor eax, eax
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
push ecx
push ebx
lea ecx, [esi + ebx]
push ecx
jmp 0x418de8
call fcn.004257a0
test eax, eax
je 0x418e08
mov eax, dword [esp + 0x14]
mov edx, dword [eax*4 + 0x4a4ea0]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x30]
dec eax
mov edi, dword [eax*4 + 0x4a4ea0]
sub ecx, edx
dec eax
sub ecx, edi
mov dword [esp + 0x18], ecx
or ecx, 0xffffffff
mov dword [esp + 0x14], eax
xor eax, eax
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
push ecx
push ebx
lea eax, [esi + ebx]
push eax
call fcn.00458090
mov ecx, esi
mov edx, ecx
shr ecx, 2
mov esi, ebp
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 0xc
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [ebp], 0
mov al, byte [ebx]
mov ebp, dword [esp + 0x10]
xor edi, edi
test al, al
je 0x418e4d
cmp dword [ebp + 0x20], edi
je 0x418e4d
mov eax, dword [ebp + 0x58]
mov esi, dword [ebp + 0x48]
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp + 0x50]
sub eax, esi
sub eax, edx
add eax, ecx
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.004191a0
mov edx, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x48]
mov eax, dword [ebp + 0x50]
sub edx, ecx
add esp, 8
add edx, eax
mov dword [0x4a8838], edx
mov al, byte [esp + 0x64]
test al, al
jne 0x418ebe
mov eax, dword [0x581b44]
mov esi, dword [eax]
mov ecx, dword [esp + 0x668]
sub esi, ecx
mov dword [eax], esi
mov edx, dword [0x4a4e98]
mov eax, dword [0x4a4e88]
mov ecx, dword [0x4a4e68]
add eax, edx
mov edx, dword [0x4a4e84]
mov dword [0x4a4e80], eax
mov eax, dword [esp + 0x38]
add edx, ecx
cmp eax, edi
mov dword [0x4a4e84], edx
mov dword [0x4a37d0], edi
je 0x419087
push edi
push edi
push 0x1a95282e
call fcn.00409cb0
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x654
ret
cmp dword [0x4a37d0], edi
je 0x418f04
cmp dword [0x4f8968], edi
jne 0x418f04
cmp dword [0x4a37c8], edi
jne 0x418f04
or ecx, 0xffffffff
xor eax, eax
lea edi, [esp + 0x64]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
or ecx, 0xffffffff
mov esi, edi
mov edi, 0x4a3a2c
repne scasb al, byte es:[edi]
mov ecx, edx
shr ecx, 2
dec edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor edi, edi
lea eax, [esp + 0x64]
push 0x8175
push eax
call fcn.0045843b
add esp, 8
test eax, eax
jne 0x418f21
test byte [esp + 0x1c], 1
je 0x418f5b
mov ecx, dword [0x4a883c]
mov edx, ecx
shl edx, 5
add edx, ecx
lea eax, [ecx + edx*4]
shl eax, 2
mov dword [eax + 0x4a5eb0], 1
mov dl, byte [eax + 0x4a5eb4]
test dl, dl
je 0x418f5b
mov edx, dword [0x4a4e84]
inc ecx
mov dword [eax + 0x4a5ea8], edx
mov dword [0x4a883c], ecx
mov edx, dword [0x4a4e7c]
push 1
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x6c]
push ecx
push edx
push 0x4a4e38
call fcn.00414870
mov esi, eax
lea eax, [esp + 0x78]
push 0x8176
push eax
call fcn.0045843b
mov edx, dword [0x4a4e68]
mov ecx, dword [0x4f9988]
add esp, 0x1c
test eax, eax
jne 0x418fa8
test byte [esp + 0x1c], 2
je 0x418fe2
cmp byte [ecx], 0
jne 0x419007
mov eax, dword [0x4a883c]
cmp eax, edi
je 0x418fe2
mov ebx, eax
shl ebx, 5
add ebx, eax
lea eax, [eax + ebx*4]
shl eax, 2
mov dword [eax + 0x4a5c9c], edi
cmp dword [eax + 0x4a5c98], edi
jne 0x418fe2
mov ebx, dword [0x4a4e84]
mov ebp, dword [eax + 0x4a5c94]
add ebx, edx
sub ebx, ebp
mov dword [eax + 0x4a5c98], ebx
cmp byte [ecx], 0
jne 0x419007
mov dword [ecx + 0x400], edi
mov eax, dword [0x4a4e80]
add eax, esi
mov dword [0x4f9988], edi
mov dword [0x4a4e80], eax
mov dword [0x4f99a0], edi
jmp 0x419025
mov ecx, dword [0x4a4e98]
mov eax, dword [0x4a4e88]
add eax, ecx
mov dword [0x4a4e80], eax
add dword [0x4a4e84], edx
mov dword [0x4a37d0], edi
mov eax, dword [0x581b44]
mov ebx, dword [eax]
mov ecx, dword [esp + 0x668]
sub ebx, ecx
mov dword [eax], ebx
mov edx, dword [0x4a4e74]
push edx
call fcn.0041f630
mov eax, dword [esp + 0x64]
push eax
call fcn.0041f630
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0041f630
mov edx, dword [esp + 0x64]
push edx
call fcn.0041f630
mov eax, dword [esp + 0x64]
push eax
call fcn.0041f630
mov ecx, dword [0x4a4e7c]
push ecx
call fcn.0041f630
push edi
push 6
push 0x47bb540c
call fcn.00409cb0
add esp, 0x24
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x654
ret