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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
mov eax, dword [0x44e4ec]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [edi + 8]
mov eax, dword [ecx]
mov esi, edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], esi
call dword [eax + 0x14]
test esi, esi
je 0x41fe33
lea eax, [esp + 0x1c]
call fcn.004205da
mov ecx, esi
lea esi, [esp + 0x20]
call fcn.00407f78
mov esi, dword [esp + 0x20]
mov ebx, dword [esi]
lea eax, [esp + 0x1c]
call fcn.00421cfb
push eax
push 0x1402
mov ecx, esi
call dword [ebx]
test eax, eax
jne 0x41fe21
push 7
pop esi
xor ebx, ebx
lea eax, [esp + 0x118]
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], bx
call fcn.0040f092
lea eax, [esp + 0x1c]
call fcn.0040f0ce
mov edx, dword [eax]
lea ecx, [esp + 0x118]
push ecx
push 4
mov ecx, eax
call dword [edx + 0x18]
test eax, eax
jne 0x41fe06
lea eax, [esp + 0x118]
call fcn.0040f0ce
cmp eax, 1
jne 0x41fe06
push 0xffffffffffffffff
lea eax, [esp + 0x11c]
call fcn.0040f0d1
lea ecx, [esp + 0xac]
push ecx
call fcn.004022e8
lea eax, [esp + 0x118]
call fcn.0040f0ab
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0xac]
mov dword [esp + 0x18], 0x2e
call fcn.00403aa1
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], bx
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebx
mov word [esp + 0x90], bx
jne 0x41f720
xor edi, edi
inc edi
push ebx
push edi
lea esi, [esp + 0x94]
call fcn.00402051
push ebx
push edi
lea esi, [esp + 0x78]
call fcn.00402051
push ebx
push edi
lea esi, [esp + 0xb0]
call fcn.00402051
lea eax, [esp + 0x20]
call fcn.00416414
lea eax, [esp + 0x1c]
call fcn.00416414
mov eax, edi
jmp 0x41fe36
push eax
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x40]
call fcn.0040d58f
pop ecx
pop ecx
push 0xffffffffffffffff
lea ecx, [esp + 0x74]
push ecx
xor ebx, ebx
call fcn.004022e8
push ebx
push 1
lea esi, [esp + 0x40]
call fcn.00402051
push 0xffffffffffffffff
lea eax, [esp + 0x3c]
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
mov ebx, dword [esp + 0x18]
push eax
lea eax, [esp + 0xb0]
mov dword [esp + 0x58], 7
call fcn.004022e8
push 0xffffffffffffffff
lea eax, [esp + 0x90]
push eax
xor ebx, ebx
lea eax, [esp + 0x40]
call fcn.004022e8
push ebx
push 1
lea esi, [esp + 0x40]
call fcn.00402051
mov eax, str.delete
lea ecx, [esp + 0xc4]
call fcn.00401d8b
lea eax, [esp + 0xc4]
lea ecx, [esp + 0x8c]
mov byte [esp + 0x13], bl
call fcn.0040d318
test al, al
jne 0x41f7fd
push 0x443d0c
lea eax, [esp + 0x90]
call fcn.0040d35e
test al, al
pop ecx
je 0x41fdf0
push 0xffffffffffffffff
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0xcc]
call fcn.004022e8
mov byte [esp + 0x13], 1
jmp 0x41f927
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x74]
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
mov dword [esp + 0x18], 0x2e
call fcn.00403aa1
cmp eax, 0xffffffff
jne 0x41f83c
lea esi, [esp + 0x54]
xor edi, edi
inc edi
push ebx
push edi
call fcn.00402051
jmp 0x41fdf3
lea edi, [eax + 1]
lea eax, [esp + 0x38]
push eax
or edx, 0xffffffff
mov ecx, edi
lea eax, [esp + 0x74]
call fcn.0040d5bf
pop ecx
push 0xffffffffffffffff
lea ecx, [esp + 0x58]
push ecx
xor ebx, ebx
call fcn.004022e8
push ebx
push 1
lea esi, [esp + 0x40]
call fcn.00402051
lea eax, [esp + 0x70]
push edi
push eax
lea eax, [esp + 0x40]
call fcn.0040d58f
pop ecx
pop ecx
push 0xffffffffffffffff
lea ecx, [esp + 0x74]
push ecx
call fcn.004022e8
xor edi, edi
push ebx
inc edi
push edi
lea esi, [esp + 0x40]
call fcn.00402051
mov dword [esp + 0x14], edi
push dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push 0x445830
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
call fcn.0040d62e
lea eax, [esp + 0x40]
push 2
push eax
call fcn.0040dc9d
mov eax, dword [esp + 0x68]
add esp, 0x10
cmp dword [esp + 0x6c], 8
jae 0x41f8dd
lea eax, [esp + 0x58]
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x4c]
push eax
lea eax, [esp + 0x3c]
call fcn.00403b37
test eax, eax
push ebx
lea esi, [esp + 0x3c]
push 1
je 0x41f912
call fcn.00402051
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 0x3e7
jbe 0x41f89c
jmp 0x41f829
call fcn.00402051
push ebx
push 1
lea esi, [esp + 0x5c]
call fcn.00402051
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x84]
cmp eax, ebx
je 0x41f957
lea edi, [eax - 1]
lea eax, [esp + 0x70]
call fcn.00405c85
cmp word [eax], 0x2e
je 0x41f953
push 0x4438c4
lea eax, [esp + 0x74]
push eax
call fcn.00402c1c
mov edi, dword [esp + 0x18]
cmp byte [esp + 0x13], bl
je 0x41fa15
cmp dword [esp + 0xa4], 8
mov eax, dword [esp + 0x90]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
jae 0x41f98a
lea eax, [esp + 0x90]
push eax
push 1
push 0x44583c
lea ecx, [esp + 0x44]
call fcn.0040d62e
add esp, 0xc
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x78]
call fcn.00402be5
pop ecx
pop ecx
lea eax, [esp + 0x14]
call fcn.004205da
lea eax, [esp + 0x1c]
call fcn.0040f0ce
mov esi, dword [eax]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
call fcn.00421cfb
mov ecx, dword [esp + 0x18]
push eax
push 1
lea eax, [esp + 0x5c]
push eax
call dword [esi + 0x1c]
test eax, eax
jne 0x41fa4e
lea eax, [esp + 0x14]
call fcn.00432677
test al, al
jne 0x41fa4e
lea eax, [esp + 0x14]
call fcn.00416414
push ebx
push 1
lea esi, [esp + 0x5c]
call fcn.00402051
push ebx
push 1
lea esi, [esp + 0x40]
call fcn.00402051
mov eax, dword [esp + 0x84]
cmp eax, 1
mov dword [esp + 0x114], 7
mov dword [esp + 0x110], ebx
mov word [esp + 0x100], bx
jae 0x41fa6c
mov eax, 0x44584c
lea esi, [esp + 0xfc]
call fcn.00401f37
jmp 0x41fa9b
lea eax, [esp + 0x14]
call fcn.00416414
push ebx
push 1
lea esi, [esp + 0x5c]
call fcn.00402051
lea esi, [esp + 0x38]
jmp 0x41f82d
dec eax
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x40]
call fcn.0040d58f
pop ecx
pop ecx
push 0xffffffffffffffff
lea ecx, [esp + 0x100]
push ecx
xor ebx, ebx
call fcn.004022e8
push ebx
push 1
lea esi, [esp + 0x40]
call fcn.00402051
lea eax, [esp + 0x18]
mov dword [esp + 0x14], ebx
mov dword [edi + 0x58], ebx
mov dword [edi + 0x5c], ebx
mov dword [esp + 0xf8], 7
mov dword [esp + 0xf4], ebx
mov word [esp + 0xe4], bx
mov byte [esp + 0x13], bl
call fcn.00421cfb
mov dword [esp + 0x24], eax
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
jne 0x41faf7
mov eax, 0x445858
lea esi, [esp + 0x54]
call fcn.00401f37
jmp 0x41fb25
cmp dword [esp + 0xa4], 8
mov eax, dword [esp + 0x90]
jae 0x41fb0f
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x18]
lea ecx, [esp + 0x5c]
push 0x44583c
call fcn.0040d62e
add esp, 0xc
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x78]
call fcn.00402be5
pop ecx
pop ecx
push 0xffffffffffffffff
lea ecx, [esp + 0xe4]
push ecx
xor ebx, ebx
call fcn.004022e8
push ebx
push 1
lea esi, [esp + 0x40]
call fcn.00402051
lea eax, [esp + 0x18]
call fcn.004205da
lea eax, [esp + 0x1c]
call fcn.0040f0ce
push dword [esp + 0x24]
mov edx, dword [eax]
push ebx
lea ecx, [esp + 0xe8]
push ecx
mov ecx, eax
call dword [edx + 0x1c]
test eax, eax
jne 0x41fd4f
lea eax, [esp + 0x18]
call fcn.00432677
test al, al
jne 0x41fd4f
lea eax, [esp + 0xa8]
lea ecx, [esp + 0xe0]
call fcn.0040d318
test al, al
je 0x41fbb2
mov byte [esp + 0x13], 1
cmp dword [esp + 0x14], ebx
jne 0x41fbea
push ecx
lea eax, [esp + 0x1c]
mov esi, esp
call fcn.00416d03
call fcn.0041fe4b
test al, al
je 0x41fca6
push ecx
lea eax, [esp + 0x1c]
mov esi, esp
call fcn.00416d03
call fcn.0041fe4b
test al, al
je 0x41fca6
lea eax, [esp + 0x118]
call fcn.0040f092
lea eax, [esp + 0x1c]
call fcn.0040f0ce
mov edx, dword [eax]
lea ecx, [esp + 0x118]
push ecx
push 7
mov ecx, eax
call dword [edx + 0x18]
test eax, eax
jne 0x41fcdb
lea eax, [esp + 0x118]
call fcn.0040f0ce
cmp eax, 3
jne 0x41fcdb
lea ecx, [esp + 0x118]
call fcn.0040f0d5
mov esi, eax
mov eax, ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edx
call fcn.0040f0ab
add dword [edi + 0x58], esi
mov eax, dword [esp + 0x2c]
adc dword [edi + 0x5c], eax
lea eax, [esp + 0x28]
push eax
lea eax, [edi + 0x44]
call fcn.0041fee6
lea eax, [esp + 0x18]
lea esi, [edi + 0x34]
push eax
call fcn.0041fe59
mov eax, esi
call fcn.00429036
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
push ebx
push ebx
push ebx
push eax
call dword [edx + 0x14]
cmp eax, ebx
jne 0x41fcd7
inc dword [esp + 0x14]
lea eax, [esp + 0x18]
call fcn.00416414
push ebx
push 1
lea esi, [esp + 0x5c]
call fcn.00402051
xor ebx, ebx
jmp 0x41fad0
lea eax, [esp + 0x18]
call fcn.00416414
push ebx
lea esi, [esp + 0x58]
xor edi, edi
inc edi
push edi
call fcn.00402051
push ebx
push edi
lea esi, [esp + 0xe8]
call fcn.00402051
lea esi, [esp + 0xfc]
jmp 0x41f830
mov edi, eax
jmp 0x41fcea
lea eax, [esp + 0x118]
call fcn.0040f0ab
xor edi, edi
inc edi
lea eax, [esp + 0x18]
call fcn.00416414
push ebx
push 1
lea esi, [esp + 0x5c]
call fcn.00402051
push ebx
push 1
lea esi, [esp + 0xe8]
call fcn.00402051
push ebx
push 1
lea esi, [esp + 0x104]
call fcn.00402051
push ebx
push 1
lea esi, [esp + 0xcc]
call fcn.00402051
push ebx
push 1
lea esi, [esp + 0x94]
call fcn.00402051
push ebx
push 1
lea esi, [esp + 0x78]
call fcn.00402051
push ebx
push 1
jmp 0x41f6fb
lea eax, [esp + 0x18]
call fcn.00416414
cmp dword [esp + 0x14], ebx
push ebx
lea esi, [esp + 0x58]
je 0x41fcb4
push 1
call fcn.00402051
cmp byte [esp + 0x13], bl
jne 0x41fd79
xor edi, edi
inc edi
jmp 0x41fcff
lea eax, [edi + 0x34]
call fcn.00429036
cmp eax, 2
jb 0x41fd74
xor edi, edi
push ebx
inc edi
push edi
lea esi, [esp + 0xe8]
call fcn.00402051
push ebx
push edi
lea esi, [esp + 0x104]
call fcn.00402051
push ebx
push edi
lea esi, [esp + 0xcc]
call fcn.00402051
push ebx
push edi
lea esi, [esp + 0x94]
call fcn.00402051
push ebx
push edi
lea esi, [esp + 0x78]
call fcn.00402051
push ebx
push edi
lea esi, [esp + 0xb0]
call fcn.00402051
lea eax, [esp + 0x20]
call fcn.00416414
lea eax, [esp + 0x1c]
call fcn.00416414
xor eax, eax
jmp 0x41fe36
xor edi, edi
inc edi
push ebx
push edi
lea esi, [esp + 0xcc]
call fcn.00402051
jmp 0x41f6e0
lea eax, [esp + 0x118]
call fcn.0040f0ab
push ebx
push 1
lea esi, [esp + 0xb0]
call fcn.00402051
lea eax, [esp + 0x20]
call fcn.00416414
lea eax, [esp + 0x1c]
call fcn.00416414
xor eax, eax
inc eax
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00432e0f
mov esp, ebp
pop ebp
ret