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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576698
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x5fb61c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
cmp dword [edi + 8], ebx
jle 0x417d7a
mov eax, dword [edi + 0xc]
mov ecx, dword [eax]
add dword [ebp - 0x1c], ecx
mov edx, dword [eax + 4]
mov ecx, dword [ebp - 0x10]
adc dword [ebp - 0x18], edx
inc ecx
add eax, 8
mov dword [ebp - 0x10], ecx
cmp ecx, dword [edi + 8]
jl 0x417d60
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [eax], ecx
push 1
mov ecx, esi
mov dword [eax + 4], edx
call fcn.00416b70
cmp dword [edi + 0x44], ebx
jle 0x417ee9
push 4
mov ecx, esi
call fcn.00416b70
lea eax, [edi + 0x28]
push eax
lea ecx, [edi + 0x14]
push ecx
push edi
push ebx
push ebx
mov ecx, esi
call fcn.004172d0
lea eax, [edi + 0x3c]
push eax
mov ecx, esi
call fcn.00417830
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 8
mov dword [ebp - 0x30], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x44], vtable.CRecordVector_bool_.0
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], 4
mov dword [ebp - 0x58], vtable.CRecordVector_unsigned_int_.0
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], ebx
cmp dword [edi + 0x6c], ebx
jle 0x417e9f
mov eax, ebx
lea ebx, [ebx]
mov edx, dword [edi + 0x70]
mov ebx, dword [edx + eax*4]
cmp byte [ebx + 0x1c], 0
je 0x417e94
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], eax
call fcn.0042be70
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
mov dword [edx + eax*8], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
mov dword [eax + edx*8 + 4], ecx
inc dword [ebp - 0x28]
movzx edx, byte [ebx + 0x1e]
lea ecx, [ebp - 0x44]
mov byte [ebp + 8], dl
call fcn.0042be70
movzx edx, byte [ebp + 8]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov byte [ecx + eax], dl
inc dword [ebp - 0x3c]
mov ebx, dword [ebx + 0xc]
lea ecx, [ebp - 0x58]
call fcn.0042be70
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + eax*4], ebx
inc dword [ebp - 0x50]
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [edi + 0x6c]
jl 0x417e20
xor ebx, ebx
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [edi + 0x50]
push edx
lea eax, [edi + 0x3c]
push eax
mov ecx, esi
call fcn.00417a40
push ebx
mov ecx, esi
call fcn.00416b70
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.0042bf60
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.0042bf60
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.0042bf60
mov ecx, esi
cmp dword [edi + 0x6c], ebx
jne 0x417f0a
push ebx
call fcn.00416b70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 5
call fcn.00416b70
mov eax, dword [edi + 0x6c]
cdq
push edx
push eax
mov ecx, esi
call fcn.00416d50
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], vtable.CRecordVector_bool_.0
mov eax, dword [edi + 0x6c]
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 3
call fcn.0042bd30
mov dword [ebp + 8], ebx
mov dword [ebp - 0x10], ebx
cmp dword [edi + 0x6c], ebx
jle 0x418128
mov eax, ebx
lea esp, [esp]
mov ecx, dword [edi + 0x70]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x1c], 0
lea ecx, [ebp - 0x30]
je 0x417f83
call fcn.0042be70
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov byte [eax + edx], 0
inc dword [ebp - 0x28]
jmp 0x417f9d
call fcn.0042be70
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov eax, 1
mov byte [edx + ecx], 1
add dword [ebp - 0x28], eax
add dword [ebp + 8], eax
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [edi + 0x6c]
jl 0x417f60
cmp dword [ebp + 8], ebx
jle 0x418128
push 0xe
mov ecx, esi
call fcn.00416b70
mov eax, dword [ebp - 0x28]
add eax, 7
shr eax, 3
push ebx
push eax
mov ecx, esi
call fcn.00416d50
lea ecx, [ebp - 0x30]
push ecx
mov ecx, esi
call fcn.00417170
mov ecx, 1
mov eax, vtable.CRecordVector_bool_.0
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x44], eax
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.0042bd30
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x44]
call fcn.0042bd30
mov dword [ebp + 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
cmp dword [edi + 0x6c], ebx
jle 0x418110
mov edi, edi
mov ecx, dword [edi + 0x70]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + edx*4]
cmp byte [eax + 0x1c], 0
mov dword [ebp - 0x18], eax
jne 0x4180aa
cmp byte [eax + 0x1d], 0
lea ecx, [ebp - 0x58]
sete byte [ebp + 8]
call fcn.0042be70
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
mov al, byte [ebp + 8]
mov byte [edx + ecx], al
mov ecx, dword [ebp - 0x18]
inc dword [ebp - 0x50]
cmp byte [ecx + 0x1d], 0
jne 0x41806d
inc dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [edi + 0x120]
jge 0x418088
mov edx, dword [edi + 0x124]
cmp byte [eax + edx], 0
mov byte [ebp + 0xb], 1
jne 0x41808c
mov byte [ebp + 0xb], 0
lea ecx, [ebp - 0x44]
call fcn.0042be70
mov ecx, dword [ebp - 0x3c]
mov al, byte [ebp + 0xb]
mov edx, dword [ebp - 0x38]
mov byte [edx + ecx], al
inc dword [ebp - 0x3c]
test al, al
je 0x4180aa
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [edi + 0x6c]
jl 0x418030
cmp dword [ebp + 0x10], ebx
jbe 0x4180e5
push 0xf
mov ecx, esi
call fcn.00416b70
mov eax, dword [ebp - 0x50]
add eax, 7
shr eax, 3
push ebx
push eax
mov ecx, esi
call fcn.00416d50
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
call fcn.00417170
cmp dword [ebp - 0x14], ebx
jbe 0x418110
push 0x10
mov ecx, esi
call fcn.00416b70
mov edx, dword [ebp - 0x3c]
add edx, 7
shr edx, 3
push ebx
push edx
mov ecx, esi
call fcn.00416d50
lea eax, [ebp - 0x44]
push eax
mov ecx, esi
call fcn.00417170
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.0042bf60
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.0042bf60
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.0042bf60
mov edx, dword [edi + 0x6c]
xor eax, eax
mov dword [ebp - 0x14], ebx
mov dword [ebp + 8], ebx
cmp edx, ebx
jle 0x4182db
mov ecx, dword [edi + 0x70]
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x14]
test ecx, ecx
je 0x41815f
inc dword [ebp - 0x14]
mov ebx, dword [ebp + 8]
add dword [ebp + 0x10], 4
inc eax
lea ecx, [ebx + ecx*2 + 2]
mov dword [ebp + 8], ecx
cmp eax, edx
jl 0x418150
cmp dword [ebp - 0x14], 0
jle 0x4182db
inc dword [ebp + 8]
mov ebx, 7
mov eax, 1
xor edx, edx
mov ecx, ebx
call fcn.005342b0
xor ecx, ecx
cmp ecx, edx
jb 0x4181a7
ja 0x41819f
cmp dword [ebp + 8], eax
jb 0x4181a7
add ebx, 7
cmp ebx, 0x3f
jl 0x418184
cmp byte [esi + 8], cl
je 0x4181b1
inc dword [esi + 0xc]
jmp 0x418217
cmp byte [esi + 9], cl
je 0x4181f0
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
lea ecx, [esi + 0x18]
mov byte [edx + eax], 0x11
inc dword [ecx + 4]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jne 0x4181d3
call fcn.00428a60
mov eax, dword [esi + 0x10]
mov ecx, eax
xor ecx, 0x11
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x603420]
mov dword [esi + 0x10], eax
jmp 0x418217
mov eax, dword [esi + 0x48]
cmp dword [esi + 0x44], eax
jne 0x41820d
mov dword [ebp + 8], 1
push 0x5d3db4
lea edx, [ebp + 8]
push edx
call fcn.00533e7f
mov ecx, dword [esi + 0x40]
mov byte [eax + ecx], 0x11
inc dword [esi + 0x48]
mov edx, dword [ebp + 8]
xor eax, eax
push eax
push edx
mov ecx, esi
call fcn.00416d50
cmp byte [esi + 8], 0
je 0x418230
inc dword [esi + 0xc]
jmp 0x41827f
cmp byte [esi + 9], 0
je 0x41826d
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
lea ecx, [esi + 0x18]
mov byte [eax + edx], 0
inc dword [ecx + 4]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jne 0x418253
call fcn.00428a60
mov eax, dword [esi + 0x10]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x603420]
mov dword [esi + 0x10], eax
jmp 0x41827f
mov eax, dword [esi + 0x48]
cmp dword [esi + 0x44], eax
je 0x4181f8
mov ecx, dword [esi + 0x40]
mov byte [eax + ecx], 0
inc dword [esi + 0x48]
cmp dword [edi + 0x6c], 0
mov dword [ebp + 8], 0
jle 0x4182db
lea esp, [esp]
mov edx, dword [edi + 0x70]
mov eax, dword [ebp + 8]
mov eax, dword [edx + eax*4]
xor ebx, ebx
mov dword [ebp + 0x10], eax
cmp dword [eax + 0x14], ebx
jl 0x4182cf
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0x10]
movzx eax, word [eax + ebx*2]
push eax
mov ecx, esi
mov dword [ebp - 0x18], eax
call fcn.00416b70
mov edx, dword [ebp - 0x18]
shr edx, 8
push edx
mov ecx, esi
call fcn.00416b70
mov eax, dword [ebp + 0x10]
inc ebx
cmp ebx, dword [eax + 0x14]
jle 0x4182a3
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
cmp eax, dword [edi + 0x6c]
jl 0x418290
mov ebx, dword [ebp + 0xc]
cmp byte [ebx + 1], 0
je 0x4182f1
push 0x12
lea ecx, [edi + 0x78]
push ecx
mov ecx, esi
call fcn.004173e0
cmp byte [ebx + 2], 0
je 0x418307
push 0x13
lea edx, [edi + 0xa0]
push edx
mov ecx, esi
call fcn.004173e0
cmp byte [ebx + 3], 0
je 0x41831d
push 0x14
lea eax, [edi + 0xc8]
push eax
mov ecx, esi
call fcn.004173e0
push 0x18
lea ecx, [edi + 0xf0]
push ecx
mov ecx, esi
call fcn.004173e0
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], vtable.CRecordVector_bool_.0
mov eax, dword [edi + 0x6c]
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 6
call fcn.0042bd30
mov dword [ebp + 8], ebx
mov dword [ebp - 0x10], ebx
cmp dword [edi + 0x6c], ebx
jle 0x4185ed
jmp 0x418370
mov edx, dword [edi + 0x70]
mov eax, dword [ebp - 0x10]
mov eax, dword [edx + eax*4]
mov bl, byte [eax + 0x1f]
lea ecx, [ebp - 0x30]
call fcn.0042be70
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov byte [edx + ecx], bl
inc dword [ebp - 0x28]
test bl, bl
je 0x418397
inc dword [ebp + 8]
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [edi + 0x6c]
jl 0x418370
cmp dword [ebp + 8], 0
jle 0x4185ed
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x28]
jne 0x4183b9
xor ecx, ecx
jmp 0x4183c2
mov ecx, dword [ebp - 0x28]
add ecx, 7
shr ecx, 3
cdq
shld edx, eax, 2
add eax, eax
add eax, eax
mov ebx, edx
xor edx, edx
add eax, ecx
adc ebx, edx
add eax, 2
mov dword [ebp - 0x1c], eax
adc ebx, edx
mov dword [ebp + 0x10], 7
mov ecx, dword [ebp + 0x10]
mov eax, 1
xor edx, edx
call fcn.005342b0
cmp ebx, edx
jb 0x41840a
ja 0x4183fc
cmp dword [ebp - 0x1c], eax
jb 0x41840a
mov eax, dword [ebp + 0x10]
add eax, 7
mov dword [ebp + 0x10], eax
cmp eax, 0x3f
jl 0x4183e2
cmp byte [esi + 8], 0
je 0x418415
inc dword [esi + 0xc]
jmp 0x41846b
cmp byte [esi + 9], 0
je 0x418455
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
lea ecx, [esi + 0x18]
mov byte [eax + edx], 0x15
inc dword [ecx + 4]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jne 0x418438
call fcn.00428a60
mov eax, dword [esi + 0x10]
mov ecx, eax
xor ecx, 0x15
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x603420]
mov dword [esi + 0x10], eax
jmp 0x41846b
mov eax, dword [esi + 0x48]
cmp dword [esi + 0x44], eax
je 0x4181f8
mov ecx, dword [esi + 0x40]
mov byte [eax + ecx], 0x15
inc dword [esi + 0x48]
mov edx, dword [ebp - 0x1c]
push ebx
push edx
mov ecx, esi
call fcn.00416d50
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x28]
jne 0x4184f6
cmp byte [esi + 8], 0
je 0x418492
mov ebx, 1
add dword [esi + 0xc], ebx
jmp 0x418564
cmp byte [esi + 9], 0
je 0x4184d9
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
lea ecx, [esi + 0x18]
mov byte [edx + eax], 1
mov ebx, 1
add dword [ecx + 4], ebx
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jne 0x4184ba
call fcn.00428a60
mov eax, dword [esi + 0x10]
mov ecx, eax
xor ecx, ebx
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x603420]
mov dword [esi + 0x10], eax
jmp 0x418564
mov eax, dword [esi + 0x48]
cmp dword [esi + 0x44], eax
je 0x4181f8
mov ecx, dword [esi + 0x40]
mov ebx, 1
mov byte [eax + ecx], 1
add dword [esi + 0x48], ebx
jmp 0x418564
cmp byte [esi + 8], 0
je 0x418501
inc dword [esi + 0xc]
jmp 0x418554
cmp byte [esi + 9], 0
je 0x41853e
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
lea ecx, [esi + 0x18]
mov byte [edx + eax], 0
inc dword [ecx + 4]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jne 0x418524
call fcn.00428a60
mov eax, dword [esi + 0x10]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x603420]
mov dword [esi + 0x10], eax
jmp 0x418554
mov eax, dword [esi + 0x48]
cmp dword [esi + 0x44], eax
je 0x4181f8
mov ecx, dword [esi + 0x40]
mov byte [eax + ecx], 0
inc dword [esi + 0x48]
lea edx, [ebp - 0x30]
push edx
mov ecx, esi
call fcn.00417170
mov ebx, 1
cmp byte [esi + 8], 0
je 0x41856f
add dword [esi + 0xc], ebx
jmp 0x4185c6
cmp byte [esi + 9], 0
je 0x4185ac
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
lea ecx, [esi + 0x18]
mov byte [eax + edx], 0
add dword [ecx + 4], ebx
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jne 0x418592
call fcn.00428a60
mov eax, dword [esi + 0x10]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x603420]
mov dword [esi + 0x10], eax
jmp 0x4185c6
mov eax, dword [esi + 0x48]
cmp dword [esi + 0x44], eax
jne 0x4185bc
mov dword [ebp + 8], ebx
jmp 0x4181ff
mov ecx, dword [esi + 0x40]
mov byte [eax + ecx], 0
add dword [esi + 0x48], ebx
xor ebx, ebx
cmp dword [edi + 0x6c], ebx
jle 0x4185ed
lea ecx, [ecx]
mov edx, dword [edi + 0x70]
mov eax, dword [edx + ebx*4]
cmp byte [eax + 0x1f], 0
je 0x4185e7
mov eax, dword [eax + 8]
push eax
mov ecx, esi
call fcn.00416c00
inc ebx
cmp ebx, dword [edi + 0x6c]
jl 0x4185d0
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.0042bf60
cmp byte [esi + 8], 0
je 0x41860c
mov edi, 1
add dword [esi + 0xc], edi
jmp 0x418669
cmp byte [esi + 9], 0
je 0x41864e
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
lea ecx, [esi + 0x18]
mov byte [edx + eax], 0
mov edi, 1
add dword [ecx + 4], edi
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jne 0x418634
call fcn.00428a60
mov eax, dword [esi + 0x10]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x603420]
mov dword [esi + 0x10], eax
jmp 0x418669
mov eax, dword [esi + 0x48]
cmp dword [esi + 0x44], eax
je 0x4181f8
mov ecx, dword [esi + 0x40]
mov edi, 1
mov byte [eax + ecx], 0
add dword [esi + 0x48], edi
cmp byte [esi + 8], 0
je 0x418686
add dword [esi + 0xc], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [esi + 9], 0
je 0x4186d5
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
lea ecx, [esi + 0x18]
mov byte [edx + eax], 0
add dword [ecx + 4], edi
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jne 0x4186a9
call fcn.00428a60
mov eax, dword [esi + 0x10]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x603420]
mov dword [esi + 0x10], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x48]
cmp dword [esi + 0x44], eax
jne 0x4186ed
mov dword [ebp + 0x10], edi
push 0x5d3db4
lea edx, [ebp + 0x10]
jmp 0x418207
mov ecx, dword [esi + 0x40]
mov byte [eax + ecx], 0
add dword [esi + 0x48], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc