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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46249d
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x4776f4]
xor eax, esp
mov dword [esp + 0x1f0], eax
push ebx
push esi
push edi
mov eax, dword [0x4776f4]
xor eax, esp
push eax
lea eax, [esp + 0x208]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [eax + 0x1c]
add eax, 9
xor ebx, ebx
mov dword [esp + 0x30], ecx
cmp eax, ebx
je 0x41d9dc
add eax, 0xfffffff7
jmp 0x41d9de
xor eax, eax
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x4c]
cmp eax, ebx
je 0x41d9ed
add eax, 0xffffffb8
jmp 0x41d9ef
xor eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x1c]
add eax, 9
cmp eax, ebx
je 0x41da06
add eax, 0xfffffff7
jmp 0x41da08
xor eax, eax
mov esi, dword [esp + 0x18]
cmp esi, dword [eax + 4]
je 0x41e583
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
mov edx, dword [section..data]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x210], ebx
push 9
mov edi, 0xf
push str._xmlattr_
lea ecx, [esp + 0xb4]
mov dword [esp + 0xc8], edi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], 0
call fcn.00407fe0
cmp dword [esp + 0xc0], 0x10
mov eax, dword [esp + 0xac]
mov byte [esp + 0xc8], 0x2e
jae 0x41daa0
lea eax, [esp + 0xac]
mov dword [esp + 0xcc], eax
lea ecx, [esi + 0x1c]
lea edx, [esp + 0xac]
mov byte [esp + 0x210], 1
call fcn.0040a6f0
push 0xffffffffffffffff
mov esi, eax
push ebx
push esi
lea ecx, [esp + 0x98]
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], 0
call fcn.00406c30
push 0x10
mov byte [esp + 0x214], 2
call fcn.0042aebd
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x210], 3
cmp eax, ebx
je 0x41db13
mov ecx, dword [esi + 0x1c]
push eax
call fcn.00410720
jmp 0x41db15
xor eax, eax
mov dword [esp + 0xa8], eax
mov byte [esp + 0x210], 5
cmp dword [esp + 0xc0], 0x10
jb 0x41db3e
mov ecx, dword [esp + 0xac]
push ecx
call fcn.0042ab24
add esp, 4
push 4
push str.path
lea ecx, [esp + 0x54]
mov dword [esp + 0xc8], edi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], 0
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], 0
call fcn.00407fe0
mov byte [esp + 0x210], 6
mov eax, dword [esp + 0xa8]
cmp eax, ebx
je 0x41db90
add eax, 9
cmp eax, ebx
je 0x41db92
lea ecx, [eax - 9]
jmp 0x41db94
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 4]
cmp eax, ebx
je 0x41dba0
add eax, 0xfffffff7
jmp 0x41dba2
xor eax, eax
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x3c]
and eax, 0xfffffffe
je 0x41dbb2
add eax, 0xffffffc4
jmp 0x41dbb4
xor eax, eax
lea edx, [esp + 0x4c]
push edx
push ecx
call fcn.0040fcb0
add esp, 8
mov byte [esp + 0x210], 5
cmp dword [esp + 0x60], 0x10
mov esi, eax
jb 0x41dbe0
mov eax, dword [esp + 0x4c]
push eax
call fcn.0042ab24
add esp, 4
mov eax, dword [esp + 0xa8]
add eax, 9
cmp eax, ebx
je 0x41dbf3
add eax, 0xfffffff7
jmp 0x41dbf5
xor eax, eax
cmp esi, dword [eax + 4]
je 0x41dd2c
push 4
push str.path
lea ecx, [esp + 0x70]
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], 0
mov byte [esp + 0x70], 0
call fcn.00407fe0
mov eax, dword [esp + 0x68]
mov esi, 0x10
mov byte [esp + 0x84], 0x2e
cmp dword [esp + 0x7c], esi
jae 0x41dc44
lea eax, [esp + 0x68]
mov dword [esp + 0x88], eax
lea edx, [esp + 0x68]
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x8c]
mov byte [esp + 0x210], 7
call fcn.0040b040
mov byte [esp + 0x210], 8
cmp dword [eax + 0x14], esi
jb 0x41dc76
mov eax, dword [eax]
push eax
lea edx, [esp + 0xf8]
lea ecx, [esp + 0xfc]
push edx
mov dword [esp + 0xfc], ecx
call fcn.00407100
mov byte [esp + 0x210], 9
mov edx, dword [esp + 0xf4]
test edx, edx
jne 0x41dca9
xor eax, eax
jmp 0x41dcbf
mov eax, edx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41dcb0
sub eax, esi
sar eax, 1
push edx
lea ecx, [esp + 0x20]
push ecx
mov ebx, eax
call fcn.00413700
mov eax, dword [esp + 0xf4]
lea edx, [esp + 0xf8]
cmp eax, edx
je 0x41dce7
push eax
call fcn.0042ae5d
add esp, 4
mov esi, 0x10
cmp dword [esp + 0x60], esi
jb 0x41dcff
mov eax, dword [esp + 0x4c]
push eax
call fcn.0042ab24
add esp, 4
xor eax, eax
mov byte [esp + 0x210], 5
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], eax
mov byte [esp + 0x4c], al
cmp dword [esp + 0x7c], esi
jb 0x41dd2c
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0042ab24
add esp, 4
push 5
push str.param
lea ecx, [esp + 0x54]
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
call fcn.00407fe0
mov byte [esp + 0x210], 0xa
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x41dd70
add eax, 9
test eax, eax
je 0x41dd72
lea ecx, [eax - 9]
jmp 0x41dd74
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 4]
test eax, eax
je 0x41dd80
add eax, 0xfffffff7
jmp 0x41dd82
xor eax, eax
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x3c]
and eax, 0xfffffffe
je 0x41dd92
add eax, 0xffffffc4
jmp 0x41dd94
xor eax, eax
lea edx, [esp + 0x4c]
push edx
push ecx
call fcn.0040fcb0
add esp, 8
mov byte [esp + 0x210], 5
cmp dword [esp + 0x60], 0x10
mov esi, eax
jb 0x41ddc0
mov eax, dword [esp + 0x4c]
push eax
call fcn.0042ab24
add esp, 4
mov eax, dword [esp + 0xa8]
add eax, 9
je 0x41ddd1
add eax, 0xfffffff7
jmp 0x41ddd3
xor eax, eax
cmp esi, dword [eax + 4]
je 0x41df0c
push 5
push str.param
lea ecx, [esp + 0x70]
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], 0
mov byte [esp + 0x70], 0
call fcn.00407fe0
mov eax, dword [esp + 0x68]
mov esi, 0x10
mov byte [esp + 0x84], 0x2e
cmp dword [esp + 0x7c], esi
jae 0x41de22
lea eax, [esp + 0x68]
mov dword [esp + 0x88], eax
lea edx, [esp + 0x68]
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x8c]
mov byte [esp + 0x210], 0xb
call fcn.0040b040
mov byte [esp + 0x210], 0xc
cmp dword [eax + 0x14], esi
jb 0x41de54
mov eax, dword [eax]
push eax
lea edx, [esp + 0xf8]
lea ecx, [esp + 0xfc]
push edx
mov dword [esp + 0xfc], ecx
call fcn.00407100
mov byte [esp + 0x210], 0xd
mov edx, dword [esp + 0xf4]
test edx, edx
jne 0x41de87
xor eax, eax
jmp 0x41de9f
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41de90
sub eax, esi
sar eax, 1
push edx
lea ecx, [esp + 0x24]
push ecx
mov ebx, eax
call fcn.00413700
mov eax, dword [esp + 0xf4]
lea edx, [esp + 0xf8]
cmp eax, edx
je 0x41dec7
push eax
call fcn.0042ae5d
add esp, 4
mov esi, 0x10
cmp dword [esp + 0x60], esi
jb 0x41dedf
mov eax, dword [esp + 0x4c]
push eax
call fcn.0042ab24
add esp, 4
xor eax, eax
mov byte [esp + 0x210], 5
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], eax
mov byte [esp + 0x4c], al
cmp dword [esp + 0x7c], esi
jb 0x41df0c
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0042ab24
add esp, 4
push 4
xor ebx, ebx
push str.wait
lea ecx, [esp + 0x54]
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
call fcn.00407fe0
mov byte [esp + 0x210], 0xe
mov eax, dword [esp + 0xa8]
cmp eax, ebx
je 0x41df4d
add eax, 9
cmp eax, ebx
je 0x41df4f
lea ecx, [eax - 9]
jmp 0x41df51
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 4]
cmp eax, ebx
je 0x41df5d
add eax, 0xfffffff7
jmp 0x41df5f
xor eax, eax
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x3c]
and eax, 0xfffffffe
je 0x41df6f
add eax, 0xffffffc4
jmp 0x41df71
xor eax, eax
lea edx, [esp + 0x4c]
push edx
push ecx
call fcn.0040fcb0
mov edi, 0x10
add esp, 8
mov byte [esp + 0x210], 5
mov esi, eax
cmp dword [esp + 0x60], edi
jb 0x41dfa1
mov eax, dword [esp + 0x4c]
push eax
call fcn.0042ab24
add esp, 4
mov eax, dword [esp + 0xa8]
add eax, 9
cmp eax, ebx
je 0x41dfb4
add eax, 0xfffffff7
jmp 0x41dfb6
xor eax, eax
cmp esi, dword [eax + 4]
mov esi, 0xf
je 0x41e06f
push 4
push str.wait
lea ecx, [esp + 0x70]
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], 0
call fcn.00407fe0
mov eax, dword [esp + 0x68]
mov byte [esp + 0x84], 0x2e
cmp dword [esp + 0x7c], edi
jae 0x41dffd
lea eax, [esp + 0x68]
mov dword [esp + 0x88], eax
lea edx, [esp + 0x68]
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x8c]
mov byte [esp + 0x210], 0xf
call fcn.0040b040
cmp dword [eax + 0x14], edi
jb 0x41e027
mov eax, dword [eax]
push eax
call fcn.0042cfed
add esp, 4
mov dword [esp + 0x24], eax
cmp dword [esp + 0x60], edi
jb 0x41e047
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0042ab24
add esp, 4
mov byte [esp + 0x210], 5
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], 0
cmp dword [esp + 0x7c], edi
jb 0x41e06f
mov edx, dword [esp + 0x68]
push edx
call fcn.0042ab24
add esp, 4
push 4
push str.show
lea ecx, [esp + 0x54]
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], 0
call fcn.00407fe0
mov byte [esp + 0x210], 0x10
mov eax, dword [esp + 0xa8]
cmp eax, ebx
je 0x41e0ab
add eax, 9
cmp eax, ebx
je 0x41e0ad
lea ecx, [eax - 9]
jmp 0x41e0af
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 4]
cmp eax, ebx
je 0x41e0bb
add eax, 0xfffffff7
jmp 0x41e0bd
xor eax, eax
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x3c]
and eax, 0xfffffffe
je 0x41e0cd
add eax, 0xffffffc4
jmp 0x41e0cf
xor eax, eax
lea edx, [esp + 0x4c]
push edx
push ecx
call fcn.0040fcb0
add esp, 8
mov byte [esp + 0x210], 5
mov esi, eax
cmp dword [esp + 0x60], edi
jb 0x41e0fa
mov eax, dword [esp + 0x4c]
push eax
call fcn.0042ab24
add esp, 4
mov eax, dword [esp + 0xa8]
add eax, 9
cmp eax, ebx
je 0x41e10d
add eax, 0xfffffff7
jmp 0x41e10f
xor eax, eax
cmp esi, dword [eax + 4]
je 0x41e276
push 4
mov ebx, 0xf
xor esi, esi
push str.show
lea ecx, [esp + 0xd8]
mov dword [esp + 0xec], ebx
mov dword [esp + 0xe8], esi
mov byte [esp + 0xd8], 0
call fcn.00407fe0
mov eax, dword [esp + 0xd0]
mov edi, 0x10
mov byte [esp + 0xec], 0x2e
cmp dword [esp + 0xe4], edi
jae 0x41e16c
lea eax, [esp + 0xd0]
mov dword [esp + 0xf0], eax
lea edx, [esp + 0xd0]
lea eax, [esp + 0x68]
lea ecx, [esp + 0x8c]
mov byte [esp + 0x210], 0x11
call fcn.0040b040
mov byte [esp + 0x210], 0x12
cmp dword [eax + 0x14], edi
jb 0x41e1a3
mov edx, dword [eax]
jmp 0x41e1a5
mov edx, eax
mov eax, edx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x4c], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41e1b7
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x54]
call fcn.00407fe0
cmp dword [esp + 0x7c], edi
jb 0x41e1de
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0042ab24
add esp, 4
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], 0
cmp dword [esp + 0xe4], edi
jb 0x41e208
mov edx, dword [esp + 0xd0]
push edx
call fcn.0042ab24
add esp, 4
mov esi, dword [esp + 0x5c]
mov ecx, esi
cmp esi, 1
jb 0x41e218
mov ecx, 1
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x4c]
mov eax, ebx
cmp edi, 0x10
jae 0x41e22b
lea eax, [esp + 0x4c]
push ecx
push 0x46b518
push eax
call fcn.00412d80
add esp, 0xc
test eax, eax
jne 0x41e252
cmp esi, 1
jae 0x41e248
or eax, 0xffffffff
jmp 0x41e250
xor eax, eax
cmp esi, 1
setne al
test eax, eax
sete al
xor ecx, ecx
test al, al
sete cl
mov byte [esp + 0x210], 5
mov dword [esp + 0x28], ecx
cmp edi, 0x10
jb 0x41e276
push ebx
call fcn.0042ab24
add esp, 4
test byte [0x47b57c], 1
jne 0x41e2e9
or dword [0x47b57c], 1
mov byte [esp + 0x210], 0x16
xor ebx, ebx
push 0x18
mov dword [0x47b588], ebx
call fcn.0042aebd
add esp, 4
cmp eax, ebx
je 0x41e546
mov dword [0x47b584], eax
mov dword [eax], eax
mov eax, dword [0x47b584]
mov dword [eax + 4], eax
mov eax, dword [0x47b584]
mov dword [eax + 8], eax
mov edx, dword [0x47b584]
mov byte [edx + 0x14], 1
mov eax, dword [0x47b584]
push 0x463550
mov byte [eax + 0x15], 1
call fcn.0042b1ea
add esp, 4
mov byte [esp + 0x210], 5
jmp 0x41e2eb
xor ebx, ebx
mov ecx, 0x47b468
mov eax, 0x47b580
call fcn.00418fc0
mov esi, dword [0x47b584]
mov edi, dword [0x47b468]
mov dword [esp + 0x14], eax
cmp eax, esi
je 0x41e35e
mov eax, dword [eax + 0xc]
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x41e56f
mov ecx, eax
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e34a
cmp dx, bx
je 0x41e346
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e34a
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x41e324
xor eax, eax
jmp 0x41e34f
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
setl al
test al, al
jne 0x41e35e
lea eax, [esp + 0x14]
jmp 0x41e366
mov dword [esp + 0x2c], esi
lea eax, [esp + 0x2c]
mov eax, dword [eax]
cmp eax, esi
je 0x41e37b
mov eax, dword [eax + 0x10]
push eax
push edi
lea ecx, [esp + 0x24]
push ecx
call fcn.00405050
mov ecx, 0x47b46c
mov eax, 0x47b580
call fcn.00418fc0
mov esi, dword [0x47b584]
mov edi, dword [0x47b46c]
mov dword [esp + 0x14], eax
cmp eax, esi
je 0x41e3ee
mov eax, dword [eax + 0xc]
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x41e56f
mov ecx, eax
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e3da
cmp dx, bx
je 0x41e3d6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e3da
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x41e3b4
xor eax, eax
jmp 0x41e3df
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
setl al
test al, al
jne 0x41e3ee
lea eax, [esp + 0x14]
jmp 0x41e3f6
mov dword [esp + 0x38], esi
lea eax, [esp + 0x38]
mov eax, dword [eax]
cmp eax, esi
je 0x41e40b
mov eax, dword [eax + 0x10]
push eax
push edi
lea edx, [esp + 0x24]
push edx
call fcn.00405050
push 0x46b3b0
push 0x46b3b4
lea eax, [esp + 0x24]
push eax
call fcn.00405050
lea ecx, [esp + 0x20]
push ecx
call fcn.00418d80
mov esi, eax
call fcn.0041bfc0
mov edi, dword [esp + 0x30]
mov esi, dword [edi + 4]
mov edx, dword [esi + 4]
push edx
push esi
lea ecx, [esp + 0x24]
call fcn.0041e6d0
mov ecx, dword [edi + 8]
mov edx, 0xffffffe
sub edx, ecx
cmp edx, 1
jb 0x41e579
inc ecx
mov dword [edi + 8], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov eax, dword [esp + 0xa8]
mov esi, eax
mov dword [esp + 0x14], esi
cmp eax, ebx
je 0x41e49c
lea ebx, [eax + 9]
mov byte [esp + 0x210], 0x18
call fcn.0040c270
mov eax, dword [esi + 4]
push eax
call fcn.0042ab24
add esp, 4
push esi
call fcn.0042ab24
add esp, 4
xor ebx, ebx
cmp dword [esp + 0xa0], 0x10
jb 0x41e4b6
mov eax, dword [esp + 0x8c]
push eax
call fcn.0042ab24
add esp, 4
mov dword [esp + 0x210], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0xa0], 0xf
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e4fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e51b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x41e528
add eax, 0x48
jmp 0x41e52a
xor eax, eax
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x41e53b
add eax, 0xffffffb8
xor ebx, ebx
jmp 0x41d9ef
mov dword [esp + 0x18], ebx
xor ebx, ebx
jmp 0x41d9f3
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x38], ebx
call fcn.0042ac47
push 0x4708fc
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x48], vtable.std::bad_alloc.0
call fcn.0042f26b
push 0x80004005
call fcn.004136e0
push str.list_T__too_long
call fcn.0042a842
mov eax, 1
mov ecx, dword [esp + 0x208]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1f0]
xor ecx, esp
call fcn.0042ab2f
mov esp, ebp
pop ebp
ret 4