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

Disassembly:
sub esp, 0x218
mov eax, dword [0x455ef98]
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
mov dword [esp + 0x10], 0x4b91dc
mov dword [esp + 0x14], str.CANCEL
mov dword [esp + 0x18], 0x4aaa38
mov dword [esp + 0x1c], 0x4aaa30
mov dword [esp + 0x20], 0x4b91cc
mov dword [esp + 0x24], 0x4b91c4
jne 0x4341cb
mov ebx, 1
mov dword [0x4552fac], 4
push ebx
push ebp
push 8
push 4
push 0x24
push 0xc0
mov dword [0x45528e4], 8
mov dword [0x454e170], 0xc0
mov dword [0x454f690], 0x24
call fcn.00448610
mov edx, dword [0x455ef94]
mov dword [0x455ef98], eax
mov ecx, 0xe
mov eax, 0xfffffffe
mov edi, 0x4b85ac
xor esi, esi
rep stosd dword es:[edi], eax
add esp, 0x18
mov ecx, ebx
mov dword [0x455ae20], esi
xor eax, eax
test ecx, edx
je 0x43415d
inc esi
cmp esi, 4
je 0x434165
inc eax
shl ecx, 1
cmp eax, 6
jl 0x434153
cmp esi, ebp
mov dword [0x455ae20], esi
jle 0x4341a5
mov eax, dword [0x4552fac]
lea ecx, [esi + 1]
shl eax, 6
cdq
idiv ecx
cmp esi, ebp
jle 0x4341a5
mov ecx, dword [0x45528e4]
lea edx, [ecx + ecx*2]
mov ecx, 0x454dfd0
shl edx, 4
lea edi, [edx - 0x38]
lea edx, [eax - 0x1b]
mov dword [ecx - 4], edx
mov dword [ecx], edi
add edx, eax
add ecx, 8
dec esi
jne 0x434198
push 0xf0
push 0x140
push 0xca
call fcn.00488190
mov eax, dword [0x455ef98]
add esp, 0xc
cmp eax, ebp
je 0x4344ac
jmp 0x4341d0
mov ebx, 1
push 0xe
push 0x4b85ac
call fcn.00421080
add esp, 8
mov esi, eax
call fcn.0044b030
test eax, eax
jne 0x434219
test dword [0x4ebe490], 0x80000000
jne 0x434219
cmp word [0x5676a0], bx
je 0x434219
cmp word [0x564e62], bx
je 0x434219
cmp dword [0x461b420], ebx
je 0x434219
cmp word [0x455ef9c], bx
jne 0x434242
mov eax, dword [0x455ef98]
or ebx, 0xffffffff
push eax
mov dword [0x4b83ec], ebx
mov word [0x455ef9c], bp
call fcn.004011c0
add esp, 4
mov dword [0x455ef98], ebp
jmp 0x434365
or ebx, 0xffffffff
cmp esi, ebp
jl 0x4342d8
cmp esi, 6
jge 0x4342e1
mov eax, 1
mov ecx, esi
shl eax, cl
mov ecx, dword [0x461b658]
push 0x4e220c
cmp ecx, ebp
push eax
je 0x4342a4
mov ecx, dword [0x455b5ac]
mov edx, dword [0x4558c34]
mov eax, dword [0x4581d40]
push ecx
mov ecx, dword [0x4581d3c]
push edx
mov edx, dword [0x461b404]
push eax
push ecx
push edx
call fcn.0048fdc0
add esp, 0x1c
mov dword [0x4b83ec], ebx
jmp 0x434361
mov eax, dword [0x455b5ac]
mov ecx, dword [0x4558c34]
mov edx, dword [0x4581d40]
push eax
mov eax, dword [0x4581d3c]
push ecx
mov ecx, dword [0x461b404]
push edx
push eax
push ecx
call fcn.0043b980
add esp, 0x1c
mov dword [0x4b83ec], ebx
jmp 0x434361
cmp esi, 6
jl 0x434361
cmp esi, 0xe
jge 0x434361
lea edi, [esi + esi*2 - 0x12]
lea edx, [esp + 0x128]
shl edi, 3
push 0x100
push edx
lea eax, [edi + 0x4553df8]
push eax
call fcn.0048a200
mov ecx, dword [edi + 0x4553e0c]
push eax
push ecx
lea edx, [esp + 0x3c]
push str._d_s
push edx
call fcn.004923a7
mov eax, dword [0x461b658]
mov ecx, dword [0x455b5ac]
mov edx, dword [0x4558c34]
add esp, 0x1c
cmp eax, ebp
lea eax, [esp + 0x28]
push eax
mov eax, dword [0x4581d40]
push 1
push ecx
mov ecx, dword [0x4581d3c]
push edx
mov edx, dword [0x461b404]
push eax
push ecx
push edx
je 0x434359
call fcn.0048fdc0
jmp 0x43435e
call fcn.0043b980
add esp, 0x1c
cmp esi, ebp
jl 0x434391
mov eax, dword [0x455ef98]
mov dword [0x4b83ec], ebx
push eax
mov word [0x455ef9c], bp
call fcn.004011c0
add esp, 4
mov dword [0x455ef98], ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret
mov eax, dword [0x455ef98]
cmp eax, ebp
je 0x4344ac
cmp dword [eax + 0x78], 1
jl 0x4344ac
xor ebx, ebx
mov ebp, 1
mov edi, 0x454dfcc
xor esi, esi
mov eax, dword [0x455ef94]
mov dword [esi + 0x4b85ac], 0xfffffffe
test ebp, eax
je 0x434402
cmp ebx, dword [0x455ae20]
jge 0x434402
mov ecx, dword [esp + esi + 0x10]
mov edx, dword [edi + 4]
mov eax, dword [0x454e170]
push 2
push ecx
mov ecx, dword [0x454f690]
push 4
add edx, ecx
push 1
push edx
add eax, dword [edi]
push eax
call fcn.0041d860
add esp, 0x18
inc ebx
mov dword [esi + 0x4b85ac], eax
add edi, 8
add esi, 4
shl ebp, 1
cmp esi, 0x18
jl 0x4343b6
push 0x4b9af0
lea ecx, [esp + 0x2c]
push 0x4a145c
push ecx
call fcn.004923a7
mov eax, dword [0x454f690]
mov ecx, dword [0x454e170]
lea edx, [esp + 0x34]
push 0
push edx
push 0
add eax, 0x28
push 1
add ecx, 0x1e
push eax
push ecx
call fcn.0041d860
mov eax, dword [0x4557a94]
add esp, 0x24
xor esi, esi
test eax, eax
jle 0x4344ac
mov ebp, 0x4b85c4
mov edi, 0x5a
mov ebx, 0x4553df8
push ebx
lea edx, [esp + 0x2c]
push str.__16s
push edx
call fcn.004923a7
mov ecx, dword [0x454f690]
lea eax, [esp + 0x34]
push 2
push eax
mov eax, dword [0x454e170]
push 0
lea edx, [edi + ecx]
push 1
add eax, 0x28
push edx
push eax
call fcn.0041d860
add esp, 0x24
mov dword [ebp], eax
mov eax, dword [0x4557a94]
inc esi
add edi, 0x1e
add ebx, 0x18
add ebp, 4
cmp esi, eax
jl 0x434460
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret