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

Disassembly:
sub esp, 0x4c
push ebx
mov ebx, dword [esp + 0x5c]
push ebp
mov ebp, dword [esp + 0x58]
cmp ebx, dword [ebp + 0x90]
mov eax, dword [ebp + 0x160]
push esi
push edi
mov dword [esp + 0x20], eax
jne 0x41ea67
lea ecx, [ebp + 0x120]
lea edi, [ebp + 0x124]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edi
jmp 0x41ea7a
mov eax, dword [ebp + 0x12c]
mov dword [esp + 0x14], eax
add eax, 4
mov dword [esp + 0x1c], eax
mov edi, eax
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x14]
mov dword [eax], edx
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x10]
push ecx
push esi
push eax
push ebx
mov dword [esp + 0x20], eax
call edx
mov ecx, dword [esp + 0x20]
add eax, 5
add esp, 0x10
cmp eax, 0x12
mov dword [edi], ecx
ja case.default.0x41eab2
jmp dword [eax*4 + 0x41f6cc]
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x30]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x70]
add eax, ecx
push eax
push ebx
call edx
add esp, 0xc
test al, al
mov byte [esp + 0x60], al
je 0x41eb1a
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x41eb02
mov edx, dword [ebp + 4]
push 1
lea ecx, [esp + 0x64]
push ecx
push edx
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x78], eax
add esp, 0xc
mov dword [ecx], eax
jmp 0x41ea84
cmp dword [ebp + 0x50], 0
je 0x41f491
mov eax, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x14]
jmp 0x41f487
mov eax, dword [ebx + 0x44]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x6c]
sub edi, eax
add eax, ecx
mov ecx, dword [esp + 0x20]
add ecx, 0x50
call fcn.0041c720
test eax, eax
mov dword [esp + 0x68], eax
je 0x41f441
mov edi, dword [esp + 0x20]
mov edx, eax
push 0
push edx
call fcn.0041b410
mov esi, eax
mov eax, edi
mov ecx, dword [eax + 0x60]
add esp, 8
cmp byte [eax + 0x81], 0
mov dword [eax + 0x5c], ecx
je 0x41eba1
mov edx, eax
cmp byte [edx + 0x82], 0
jne 0x41eba1
test esi, esi
jne 0x41ebb3
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x41eb02
mov ecx, dword [esp + 0x68]
mov edx, dword [ebp + 4]
push esi
push ecx
push edx
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x78], eax
add esp, 0xc
mov dword [ecx], eax
jmp 0x41ea84
test esi, esi
je 0x41f588
cmp byte [esi + 0x1e], 0
je 0x41f595
cmp byte [esi + 0x1c], 0
jne 0x41f5a2
cmp dword [esi + 0x18], 0
jne 0x41f5af
cmp dword [esi + 4], 0
je 0x41ec86
cmp byte [ebp + 0x130], 0
jne 0x41ec0a
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x41eb02
mov ecx, dword [esi]
mov edx, dword [ebp + 4]
push 0
push ecx
push edx
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x78], eax
add esp, 0xc
mov dword [ecx], eax
jmp 0x41ea84
mov byte [esi + 0x1c], 1
mov ecx, dword [ebp + 0x12c]
lea edx, [esp + 0x34]
mov dword [ebp + 0x12c], edx
mov eax, dword [esi + 4]
mov edx, dword [ebp + 0xe4]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 8]
push 0
add ecx, eax
push ecx
push eax
mov eax, dword [ebp + 0x134]
push edx
push eax
push ebp
mov dword [esp + 0x58], esi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
call fcn.0041ea30
mov ecx, dword [esp + 0x54]
add esp, 0x18
test eax, eax
mov byte [esi + 0x1c], 0
mov dword [ebp + 0x12c], ecx
jne 0x41f446
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x6c], eax
mov dword [ecx], eax
jmp 0x41ea84
cmp dword [ebp + 0x70], 0
je 0x41eb02
mov edi, ebp
mov byte [esi + 0x1c], 1
call fcn.0041c0b0
test eax, eax
mov byte [esi + 0x1c], 0
je 0x41f441
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
push edx
mov edx, dword [esi + 0x10]
push ecx
mov ecx, dword [ebp + 0x70]
push edx
push eax
mov eax, dword [ebp + 0x74]
push eax
call ecx
add esp, 0x14
test eax, eax
je 0x41f5bc
mov edx, dword [ebp + 0x1a0]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov dword [ebp + 0x19c], edx
mov dword [esp + 0x6c], eax
mov dword [ecx], eax
jmp 0x41ea84
mov esi, dword [ebp + 0x16c]
test esi, esi
je 0x41ecff
mov ecx, dword [esi]
mov dword [ebp + 0x16c], ecx
jmp 0x41ed2e
mov edx, dword [ebp + 0xc]
push 0x30
call edx
mov esi, eax
add esp, 4
test esi, esi
je 0x41f441
mov eax, dword [ebp + 0xc]
push 0x20
call eax
add esp, 4
test eax, eax
mov dword [esi + 0x24], eax
je 0x41f5c9
add eax, 0x20
mov dword [esi + 0x28], eax
xor ecx, ecx
mov dword [esi + 0x2c], ecx
mov edx, dword [ebp + 0x168]
lea eax, [esi + 0x2c]
mov dword [esi], edx
mov dword [ebp + 0x168], esi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x44]
add eax, ecx
push eax
mov dword [esi + 4], eax
mov edx, dword [ebx + 0x20]
push ebx
call edx
mov dword [esi + 8], eax
add dword [ebp + 0x134], 1
mov eax, dword [esi + 4]
mov edi, dword [esi + 8]
add edi, eax
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x20], eax
mov ecx, dword [esi + 0x28]
sub ecx, 1
push ecx
mov ecx, dword [ebx + 0x3c]
lea edx, [esp + 0x24]
push edx
push edi
lea eax, [esp + 0x7c]
push eax
push ebx
call ecx
mov eax, dword [esp + 0x34]
sub eax, dword [esi + 0x24]
add esp, 0x1c
cmp dword [esp + 0x68], edi
mov dword [esp + 0x24], eax
je 0x41ee13
lea ebx, [ebx]
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
mov edx, dword [ebp + 0x10]
sub eax, ecx
add eax, eax
push eax
push ecx
mov dword [esp + 0x30], eax
call edx
add esp, 8
test eax, eax
je 0x41f441
mov ecx, dword [esp + 0x28]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edx
add eax, ecx
mov dword [esp + 0x18], eax
mov edx, dword [esi + 0x28]
sub edx, 1
push edx
mov edx, dword [ebx + 0x3c]
lea eax, [esp + 0x1c]
push eax
push edi
lea ecx, [esp + 0x74]
push ecx
push ebx
call edx
mov eax, dword [esp + 0x2c]
sub eax, dword [esi + 0x24]
add esp, 0x14
cmp dword [esp + 0x68], edi
mov dword [esp + 0x24], eax
jne 0x41edb0
mov edx, dword [esi + 0x24]
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x18], ecx
mov ecx, dword [esp + 0x2c]
lea edi, [esi + 0xc]
mov dword [edi], edx
mov eax, dword [esp + 0x18]
push ecx
mov byte [eax], 0
mov edx, dword [esp + 0x70]
push edi
push edx
push ebx
push ebp
call fcn.0041e290
add esp, 0x14
test eax, eax
jne 0x41f446
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x41ee82
mov ecx, dword [ebp + 0x184]
mov edx, dword [edi]
push ecx
mov ecx, dword [ebp + 4]
push edx
push ecx
call eax
add esp, 0xc
lea ecx, [ebp + 0x190]
call fcn.0041b690
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x6c], eax
mov dword [ecx], eax
jmp 0x41ea84
cmp dword [ebp + 0x50], 0
je 0x41ee9b
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x10]
push edx
mov esi, ebp
call fcn.0041b220
add esp, 4
lea ecx, [ebp + 0x190]
call fcn.0041b690
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x6c], eax
mov dword [ecx], eax
jmp 0x41ea84
mov edi, dword [ebx + 0x44]
add edi, dword [esp + 0x6c]
mov eax, dword [ebx + 0x20]
push edi
push ebx
mov dword [esp + 0x2c], 0
mov byte [esp + 0x70], 1
call eax
add eax, edi
push edi
lea esi, [ebp + 0x190]
mov edi, eax
mov eax, esi
call fcn.0041c630
add esp, 0xc
test eax, eax
je 0x41ef22
mov ecx, dword [esi + 0xc]
cmp ecx, dword [esi + 8]
jne 0x41ef0c
lea esi, [ebp + 0x190]
call fcn.0041b6d0
test al, al
jne 0x41ef0c
xor eax, eax
jmp 0x41ef22
mov edx, dword [ebp + 0x19c]
mov byte [edx], 0
add dword [ebp + 0x19c], 1
mov eax, dword [ebp + 0x1a0]
test eax, eax
mov dword [esp + 0x44], eax
je 0x41f441
mov eax, dword [ebp + 0x19c]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x48]
push edx
mov dword [ebp + 0x1a0], eax
mov eax, dword [esp + 0x74]
push eax
push ebx
push ebp
call fcn.0041e290
add esp, 0x14
test eax, eax
jne 0x41f446
mov eax, dword [ebp + 0x34]
test eax, eax
mov ecx, dword [ebp + 0x19c]
mov esi, dword [esp + 0x44]
mov dword [ebp + 0x1a0], ecx
je 0x41ef87
mov edx, dword [ebp + 0x184]
mov ecx, dword [ebp + 4]
push edx
push esi
push ecx
call eax
add esp, 0xc
xor al, al
jmp 0x41ef8b
mov al, byte [esp + 0x68]
cmp dword [ebp + 0x38], 0
je 0x41efb2
cmp dword [ebp + 0x34], 0
je 0x41efa3
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp + 4]
mov eax, dword [ebp + 0x38]
push esi
push edx
call eax
add esp, 8
jmp 0x41efcf
test al, al
je 0x41efcf
cmp dword [ebp + 0x50], 0
je 0x41efcf
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x10]
push ecx
mov esi, ebp
call fcn.0041b220
add esp, 4
lea ecx, [ebp + 0x190]
call fcn.0041b690
mov esi, dword [esp + 0x24]
test esi, esi
je 0x41f018
mov eax, dword [ebp + 0x68]
test eax, eax
mov edi, esi
je 0x41eff9
mov edx, dword [esi]
mov ecx, dword [edx]
mov edx, dword [ebp + 4]
push ecx
push edx
call eax
add esp, 8
mov ecx, dword [ebp + 0x174]
lea eax, [esi + 4]
mov esi, dword [eax]
test esi, esi
mov dword [eax], ecx
mov dword [ebp + 0x174], edi
mov edx, dword [edi]
mov eax, dword [edi + 8]
mov dword [edx + 4], eax
jne 0x41efe2
cmp dword [ebp + 0x134], 0
jne 0x41f491
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
push ebp
call fcn.0041e060
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov ecx, dword [esp + 0x64]
cmp dword [ebp + 0x134], ecx
je 0x41f6bd
mov edi, dword [ebp + 0x168]
mov edx, dword [edi]
mov eax, dword [ebp + 0x16c]
mov dword [ebp + 0x168], edx
mov dword [edi], eax
mov edx, dword [esp + 0x6c]
mov dword [ebp + 0x16c], edi
mov ecx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x20]
lea esi, [edx + ecx*2]
push esi
push ebx
mov dword [esp + 0x70], edi
mov dword [esp + 0x34], esi
call eax
add esp, 8
cmp eax, dword [edi + 8]
jne 0x41f5e3
cmp eax, 4
mov edx, dword [edi + 4]
mov ecx, esi
jb 0x41f0b4
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x41f0b8
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x41f0a0
test eax, eax
je 0x41f11d
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x41f107
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x41f119
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x41f107
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x41f119
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x41f107
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x41f119
movzx esi, byte [edx]
movzx ecx, byte [ecx]
sub esi, ecx
je 0x41f119
test esi, esi
mov edi, dword [esp + 0x68]
mov eax, 1
jg 0x41f11f
or eax, 0xffffffff
jmp 0x41f11f
mov edi, dword [esp + 0x68]
xor eax, eax
test eax, eax
jne 0x41f5df
add dword [ebp + 0x134], 0xffffffff
cmp dword [ebp + 0x38], eax
je 0x41f1a3
cmp byte [ebp + 0xec], al
mov edx, dword [edi + 0x10]
je 0x41f191
test edx, edx
je 0x41f191
mov eax, dword [edi + 0x1c]
mov cl, byte [edx]
add eax, dword [edi + 0xc]
test cl, cl
je 0x41f15e
mov edi, edi
add edx, 1
mov byte [eax], cl
mov cl, byte [edx]
add eax, 1
test cl, cl
jne 0x41f150
cmp byte [ebp + 0xed], 0
mov esi, dword [edi + 0x14]
je 0x41f18e
test esi, esi
je 0x41f18e
mov dl, byte [ebp + 0x1c8]
mov byte [eax], dl
mov cl, byte [esi]
add eax, 1
test cl, cl
je 0x41f18e
nop
add esi, 1
mov byte [eax], cl
mov cl, byte [esi]
add eax, 1
test cl, cl
jne 0x41f180
mov byte [eax], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 0x38]
push eax
push ecx
call edx
add esp, 8
jmp 0x41f1bc
cmp dword [ebp + 0x50], 0
je 0x41f1bc
mov eax, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x14]
mov esi, ebp
call fcn.0041b220
add esp, 4
cmp dword [edi + 0x2c], 0
je 0x41f200
mov eax, dword [ebp + 0x68]
test eax, eax
mov esi, dword [edi + 0x2c]
je 0x41f1da
mov ecx, dword [esi]
mov edx, dword [ecx]
mov ecx, dword [ebp + 4]
push edx
push ecx
call eax
add esp, 8
mov edx, dword [edi + 0x2c]
mov eax, dword [edx + 4]
mov dword [edi + 0x2c], eax
mov ecx, dword [ebp + 0x174]
mov dword [esi + 4], ecx
mov dword [ebp + 0x174], esi
mov edx, dword [esi]
mov eax, dword [esi + 8]
mov dword [edx + 4], eax
cmp dword [edi + 0x2c], 0
jne 0x41f1c2
cmp dword [ebp + 0x134], 0
je 0x41f025
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x6c], eax
mov dword [ecx], eax
jmp 0x41ea84
mov ecx, dword [esp + 0x6c]
mov edx, dword [ebx + 0x2c]
push ecx
push ebx
call edx
add esp, 8
test eax, eax
jl 0x41f5f6
cmp dword [ebp + 0x3c], 0
je 0x41f277
lea ecx, [esp + 0x30]
push ecx
push eax
call fcn.0042e770
mov ecx, dword [ebp + 0x3c]
push eax
mov eax, dword [ebp + 4]
lea edx, [esp + 0x3c]
push edx
push eax
call ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x80], eax
add esp, 0x14
mov dword [ecx], eax
jmp 0x41ea84
cmp dword [ebp + 0x50], 0
je 0x41f491
mov eax, dword [esp + 0x10]
jmp 0x41f482
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x41f2bd
mov edx, dword [ebp + 4]
push 1
lea ecx, [esp + 0x6c]
push ecx
push edx
mov byte [esp + 0x74], 0xa
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x78], eax
add esp, 0xc
mov dword [ecx], eax
jmp 0x41ea84
cmp dword [ebp + 0x50], 0
je 0x41f491
mov eax, dword [esp + 0x6c]
push eax
mov eax, ecx
jmp 0x41f487
mov eax, dword [ebp + 0x48]
test eax, eax
je 0x41f2e2
mov ecx, dword [ebp + 4]
push ecx
call eax
jmp 0x41f2fa
cmp dword [ebp + 0x50], 0
je 0x41f2fd
mov edx, dword [esp + 0x6c]
push edx
mov eax, ecx
mov esi, ebp
call fcn.0041b220
mov esi, dword [esp + 0x74]
add esp, 4
mov eax, dword [esp + 0x74]
push eax
lea ecx, [esp + 0x14]
push esi
push ecx
mov eax, ebx
mov ecx, ebp
call fcn.0041bb50
add esp, 0xc
cmp dword [esp + 0x10], 0
jne 0x41f491
pop edi
pop esi
mov dword [ebp + 0x118], 0x41cc00
pop ebp
pop ebx
add esp, 0x4c
ret
mov eax, dword [ebp + 0x3c]
test eax, eax
je case.default.0x41eab2
cmp byte [ebx + 0x48], 0
jne 0x41f402
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x30]
push eax
mov dword [esp + 0x6c], edx
lea edx, [esp + 0x6c]
push edx
push ecx
mov ecx, dword [ebx + 0x3c]
lea eax, [esp + 0x78]
push eax
push ebx
call ecx
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
mov dword [edi], edx
mov eax, dword [ebp + 0x2c]
mov edx, dword [ebp + 4]
sub ecx, eax
push ecx
push eax
mov eax, dword [ebp + 0x3c]
push edx
call eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x30]
add esp, 0x20
cmp eax, ecx
je 0x41f491
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
lea ecx, [ecx]
mov dword [esi], eax
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x30]
push eax
mov dword [esp + 0x6c], edx
lea edx, [esp + 0x6c]
push edx
push ecx
mov ecx, dword [ebx + 0x3c]
lea eax, [esp + 0x78]
push eax
push ebx
call ecx
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
mov dword [edi], edx
mov eax, dword [ebp + 0x2c]
mov edx, dword [ebp + 4]
sub ecx, eax
push ecx
push eax
mov eax, dword [ebp + 0x3c]
push edx
call eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x30]
add esp, 0x20
cmp eax, ecx
jne 0x41f3a0
mov edi, dword [esp + 0x1c]
mov eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
mov dword [ecx], eax
jmp 0x41ea84
mov edx, ecx
mov ecx, dword [esp + 0x6c]
sub edx, ecx
push edx
push ecx
mov ecx, dword [ebp + 4]
push ecx
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x78], eax
add esp, 0xc
mov dword [ecx], eax
jmp 0x41ea84
mov eax, dword [esp + 0x6c]
push ecx
push eax
push ebp
mov ecx, ebx
call fcn.0041d820
add esp, 0xc
test eax, eax
jne 0x41f491
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov edx, dword [esp + 0x6c]
mov eax, ecx
push ebp
mov ecx, ebx
call fcn.0041d940
add esp, 4
test eax, eax
je 0x41f441
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x6c], eax
mov dword [ecx], eax
jmp 0x41ea84
cmp dword [ebp + 0x50], 0
je 0x41f491
mov eax, ecx
mov edx, dword [esp + 0x6c]
push edx
mov esi, ebp
call fcn.0041b220
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x6c], eax
mov dword [ecx], eax
jmp 0x41ea84
mov eax, dword [esp + 0x74]
test eax, eax
je 0x41f4c0
mov edx, dword [esp + 0x6c]
mov dword [eax], edx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4c
ret
mov dword [edi], esi
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x41f4e0
mov edx, dword [ebp + 4]
push 1
lea ecx, [esp + 0x64]
push ecx
push edx
mov byte [esp + 0x6c], 0xa
call eax
add esp, 0xc
jmp 0x41f4f9
cmp dword [ebp + 0x50], 0
je 0x41f4f9
mov eax, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x74]
mov esi, ebp
call fcn.0041b220
add esp, 4
mov ecx, dword [esp + 0x64]
test ecx, ecx
jne 0x41f530
pop edi
pop esi
pop ebp
lea eax, [ecx + 3]
pop ebx
add esp, 0x4c
ret
mov eax, dword [esp + 0x74]
test eax, eax
je 0x41f524
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
xor eax, eax
pop ebx
add esp, 0x4c
ret
mov ecx, dword [esp + 0x64]
test ecx, ecx
jle 0x41f69e
mov eax, dword [ebp + 0x134]
sub eax, ecx
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
and eax, 0xd
pop ebx
add esp, 0x4c
ret
mov edx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [edx], ecx
mov eax, 4
pop ebx
add esp, 0x4c
ret
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x41f514
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 0x4c
ret
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x41f4b0
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 0x4c
ret
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x4c
ret
pop edi
pop esi
pop ebp
mov eax, 0x18
pop ebx
add esp, 0x4c
ret
pop edi
pop esi
pop ebp
mov eax, 0xc
pop ebx
add esp, 0x4c
ret
pop edi
pop esi
pop ebp
mov eax, 0xf
pop ebx
add esp, 0x4c
ret
pop edi
pop esi
pop ebp
mov eax, 0x15
pop ebx
add esp, 0x4c
ret
mov eax, dword [ebp + 0x14]
push esi
call eax
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x4c
ret
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ecx], esi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x4c
ret
pop edi
pop esi
pop ebp
mov eax, 0xe
pop ebx
add esp, 0x4c
ret
pop edi
pop esi
pop ebp
mov eax, 0x11
pop ebx
add esp, 0x4c
ret
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x41f4b0
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x41f673
cmp byte [ebx + 0x48], 0
jne 0x41f65e
mov ecx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x2c]
push ecx
mov ecx, dword [ebx + 0x3c]
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0x68], eax
push esi
lea eax, [esp + 0x78]
push eax
push ebx
call ecx
mov eax, dword [ebp + 0x2c]
mov edx, dword [esp + 0x74]
mov ecx, dword [ebp + 0x3c]
sub edx, eax
push edx
push eax
mov eax, dword [ebp + 4]
push eax
call ecx
add esp, 0x20
jmp 0x41f690
mov ecx, dword [esp + 0x6c]
mov edx, esi
sub edx, ecx
push edx
push ecx
mov ecx, dword [ebp + 4]
push ecx
call eax
add esp, 0xc
jmp 0x41f690
cmp dword [ebp + 0x50], 0
je 0x41f690
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
push edx
mov esi, ebp
call fcn.0041b220
mov esi, dword [esp + 0x74]
add esp, 4
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x41f6ab
mov eax, dword [esp + 0x14]
mov dword [eax], esi
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x4c
ret
cmp dword [ebp + 0x134], eax
je 0x41f4b6
mov ecx, dword [esp + 0x14]
mov dword [ecx], esi
pop edi
pop esi
pop ebp
mov eax, 0xd
pop ebx
add esp, 0x4c
ret