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

Disassembly:
push ebp
lea ebp, [esp - 0x36c]
sub esp, 0x36c
push 0xffffffffffffffff
push 0x4c125a
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4f4524]
xor eax, ebp
mov dword [ebp + 0x368], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x374]
mov ebx, ecx
mov dword [ebp - 0x20], 0
cmp dword [ebx + 0x78], 0
mov dword [ebp - 0x18], ebx
je 0x4201df
push 2
push 0xffffffffffffffff
push 0x4d0498
mov ecx, esi
call fcn.00415320
mov edi, eax
cmp edi, 0xffffffff
jne 0x41f9b9
push eax
push 0
mov ecx, esi
call fcn.004012c7
push 0xffffffffffffffff
inc edi
push edi
mov ecx, esi
call fcn.004012c7
cmp dword [esi + 0x14], 0
je 0x41fa6b
cmp dword [esi + 0x30], 0
jne 0x41fa75
cmp dword [esi + 0x18], 0x10
jb 0x41f9e3
mov eax, dword [esi + 4]
jmp 0x41f9e6
lea eax, [esi + 4]
push eax
lea ecx, [ebp + 0x208]
call fcn.00417b50
cmp byte [esi + 0x38], 0
mov dword [ebp - 4], 0
je 0x41fa26
cmp byte [ebx + 4], 0
je 0x41fa57
lea eax, [ebp + 0x330]
push eax
lea ecx, [ebp + 0x208]
call fcn.004272a0
push eax
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 1
call fcn.0041a3f0
jmp 0x41fa4c
lea ecx, [ebp + 0x208]
push ecx
lea edx, [ebp + 0x330]
push edx
mov ecx, ebx
call fcn.0041c450
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
push eax
mov byte [ebp - 4], 2
call fcn.00401762
lea ecx, [ebp + 0x330]
call fcn.0040926c
lea ecx, [ebp + 0x208]
mov dword [ebp - 4], 0xffffffff
call fcn.004271f0
jmp 0x41fa75
cmp dword [esi + 0x4c], 0
je 0x4201df
xor eax, eax
cmp dword [ebx + 0xb8], eax
je 0x41fa8c
cmp byte [ebx + 0xfc], al
setne al
lea eax, [eax + eax - 1]
mov ecx, dword [ebx + 0xb8]
imul ecx, eax
test ecx, ecx
setne byte [ebp - 0x26]
cmp dword [esi + 0x34], 0x10
jb 0x41faa6
mov eax, dword [esi + 0x20]
jmp 0x41faa9
lea eax, [esi + 0x20]
lea edi, [esi + 0x44]
push eax
push edi
mov ecx, ebx
mov dword [ebp - 0x34], edi
call fcn.00416090
test al, al
je 0x4201df
cmp dword [edi], 0
setge byte [ebp - 0x13]
cmp dword [esi + 0x4c], 0
je 0x41fad7
call fcn.004221d0
mov dword [ebp - 0x30], eax
jmp 0x41fb14
cmp dword [esi + 0x18], 0x10
lea edi, [esi + 4]
jb 0x41fae4
mov eax, dword [edi]
jmp 0x41fae6
mov eax, edi
lea edx, [ebp - 0x30]
push edx
push eax
call fcn.00422050
add esp, 8
test al, al
je 0x4201df
cmp dword [esi + 0x18], 0x10
jb 0x41fb03
mov edi, dword [edi]
lea eax, [ebp - 0x3c]
push eax
push edi
call fcn.00422070
add esp, 8
test al, al
jne 0x41fb24
push 0
call fcn.004485f4
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], eax
add esp, 4
lea ecx, [ebp + 0x298]
call fcn.00411e00
mov edi, 0x10
mov dword [ebp - 4], 3
cmp dword [esi + 0x34], edi
jb 0x41fb45
mov eax, dword [esi + 0x20]
jmp 0x41fb48
lea eax, [esi + 0x20]
push eax
lea ecx, [ebp + 0x298]
call fcn.00412540
call fcn.004221f0
cmp eax, 3
je 0x41fb75
push 3
call fcn.004221f0
mov ecx, dword [ebp - 0x30]
push eax
push ecx
call fcn.00421f60
add esp, 0xc
or dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
push edx
lea eax, [ebp + 0x298]
push eax
mov ecx, ebx
call fcn.00413ab0
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp + 0x298]
call fcn.004122d0
test dword [esi + 0x40], 0xf000
mov dword [ebp - 0x1c], 0
setne al
mov byte [ebp - 0x27], al
test al, al
jne 0x41fbe6
push 1
mov ecx, ebx
call fcn.0041a600
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x41fbe6
cmp dword [esi + 0x18], edi
jb 0x41fbc8
mov ecx, dword [esi + 4]
jmp 0x41fbcb
lea ecx, [esi + 4]
cmp dword [esi + 0x34], edi
jb 0x41fbd5
mov eax, dword [esi + 0x20]
jmp 0x41fbd8
lea eax, [esi + 0x20]
mov edx, dword [ebp - 0x1c]
mov edi, dword [edx]
push ecx
mov ecx, edx
mov edx, dword [edi + 4]
push eax
call edx
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp + 0x298]
call fcn.00412a30
test al, al
je 0x41fca9
test edi, edi
je 0x41fc0b
mov eax, dword [edi]
mov edx, dword [eax + 8]
push 0
mov ecx, edi
call edx
mov dword [ebp + 0x344], 0xf
mov dword [ebp + 0x340], 0
mov byte [ebp + 0x330], 0
test byte [esi + 0x40], 1
mov byte [ebp - 4], 4
je 0x41fc3c
push ebx
lea ecx, [ebp + 0x32c]
call fcn.0041d6f0
cmp byte [ebp - 0x13], 0
je 0x41fc51
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
shl eax, 0x10
or eax, 0x100
jmp 0x41fc53
xor eax, eax
mov esi, dword [ebp - 0x18]
push 0
push 0
push eax
lea ecx, [ebp + 0x298]
push ecx
mov ecx, esi
call fcn.0041d960
push 0
mov ecx, esi
mov bl, al
call fcn.0041be50
test edi, edi
je 0x41fc81
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
lea ecx, [ebp + 0x32c]
mov byte [ebp - 4], 3
call fcn.00417c40
lea ecx, [ebp + 0x298]
mov dword [ebp - 4], 0xffffffff
call fcn.00411e90
mov al, bl
jmp 0x42045a
mov dword [ebp + 0x324], 0xf
mov dword [ebp + 0x320], 0
mov byte [ebp + 0x310], 0
cmp dword [esi + 0x3c], 0
mov eax, dword [esi + 0x40]
setne bl
mov byte [ebp - 4], 5
test al, 8
je 0x41fcde
mov byte [ebp - 0x12], 1
test bl, bl
jne 0x41fce2
mov byte [ebp - 0x12], 0
mov edi, dword [ebp - 0x18]
test al, 2
je 0x41fd08
lea ecx, [ebp + 0x330]
push ecx
mov ecx, edi
call fcn.0041c170
cmp dword [eax + 0x14], 0
mov dword [ebp - 0x20], 1
mov byte [ebp - 0x11], 1
jne 0x41fd0c
mov byte [ebp - 0x11], 0
test byte [ebp - 0x20], 1
je 0x41fd21
and dword [ebp - 0x20], 0xfffffffe
lea ecx, [ebp + 0x330]
call fcn.0040926c
test byte [esi + 0x40], 4
je 0x41fd2f
test bl, bl
je 0x41fd2f
mov cl, 1
jmp 0x41fd31
xor cl, cl
or eax, 0xffffffff
cmp byte [ebp - 0x12], 0
mov byte [ebp - 0x21], cl
mov dword [ebp - 0x2c], eax
je 0x41fd46
cmp byte [ebp - 0x26], 0
jne 0x41fd50
cmp byte [ebp - 0x13], 0
je 0x41fd54
test bl, bl
je 0x41fd54
mov bl, 1
jmp 0x41fd56
xor bl, bl
test cl, cl
jne 0x41fd63
cmp byte [ebp - 0x11], cl
jne 0x41fd63
test bl, bl
je 0x41fdd0
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x41fd76
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov dword [ebp - 0x2c], eax
jmp 0x41fda0
cmp dword [esi + 0x18], 0x10
jb 0x41fd81
mov eax, dword [esi + 4]
jmp 0x41fd84
lea eax, [esi + 4]
lea ecx, [ebp - 0x2c]
push ecx
push eax
call fcn.00421fe0
add esp, 8
test al, al
jne 0x41fd9d
cmp byte [ebp - 0x12], al
je 0x41fd9d
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x41fdd0
cmp byte [ebp - 0x11], 0
je 0x41fdbe
test eax, eax
jne 0x41fdbe
push edi
lea ecx, [ebp + 0x30c]
call fcn.0041d6f0
mov eax, dword [ebp - 0x2c]
cmp byte [ebp - 0x21], 0
je 0x41fdd0
cmp eax, 5
jae 0x41fdd0
mov dword [esi + 0x3c], 0
cmp byte [ebp - 0x12], 0
je 0x41fde0
test byte [esi + 0x40], 0x10
je 0x41fde0
mov cl, 1
jmp 0x41fde2
xor cl, cl
mov byte [ebp - 0x11], cl
mov dword [ebp + 0x364], 0xf
mov dword [ebp + 0x360], 0
mov byte [ebp + 0x350], 0
mov byte [ebp - 4], 6
test bl, bl
je 0x41fe5f
test cl, cl
jne 0x41fe5b
cmp dword [edi + 0x1c4], 0
jne 0x41fe19
xor ecx, ecx
jmp 0x41fe30
cmp dword [edi + 0x1c8], 0x10
jb 0x41fe2a
mov ecx, dword [edi + 0x1b4]
jmp 0x41fe30
lea ecx, [edi + 0x1b4]
push eax
push ecx
lea edx, [ebp + 0x330]
push edx
call fcn.004227e0
add esp, 0xc
or dword [ebp - 0x20], 2
push eax
lea ecx, [ebp + 0x34c]
mov byte [ebp - 4], 7
call fcn.0041a3f0
cmp dword [eax + 0x14], 0
je 0x41fe5f
mov bl, 1
jmp 0x41fe61
xor bl, bl
test byte [ebp - 0x20], 2
mov dword [ebp - 4], 6
je 0x41fe79
lea ecx, [ebp + 0x330]
call fcn.0040926c
test bl, bl
je 0x420151
lea ecx, [ebp]
mov dword [ebp - 0x20], 0
call fcn.0041f7e0
cmp byte [ebp - 0x11], 0
mov byte [ebp - 4], 9
je 0x41fecd
push 0x1c
call fcn.00443595
add esp, 4
test eax, eax
je 0x41feb6
push 0x400
mov ecx, eax
call fcn.00413350
jmp 0x41feb8
xor eax, eax
push 2
push eax
lea ecx, [ebp]
mov dword [ebp - 0x20], eax
call fcn.00419050
mov edi, 0x10
jmp 0x41fef3
mov eax, dword [ebp + 0x350]
mov edi, 0x10
cmp dword [ebp + 0x364], edi
jae 0x41fee6
lea eax, [ebp + 0x350]
push 0
push 2
push eax
lea ecx, [ebp]
call fcn.00419010
mov ebx, dword [ebp - 0x18]
cmp dword [ebx + 0x1ac], edi
jb 0x41ff06
mov eax, dword [ebx + 0x198]
jmp 0x41ff0c
lea eax, [ebx + 0x198]
push eax
lea ecx, [ebp]
call fcn.0041ac90
lea eax, [ebp + 0x330]
push eax
mov ecx, ebx
call fcn.0041c170
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x18], edi
jb 0x41ff31
mov eax, dword [eax + 4]
jmp 0x41ff34
add eax, 4
push eax
lea ecx, [ebp]
call fcn.00415020
lea ecx, [ebp + 0x330]
mov byte [ebp - 4], 9
call fcn.0040926c
mov ecx, dword [ebx + 0x1cc]
push ecx
lea ecx, [ebp]
call fcn.00413b10
mov edx, dword [ebp - 0x1c]
push 1
push edx
lea ecx, [ebp]
call fcn.0041ecd0
mov edi, dword [esi + 0x44]
lea ebx, [esi + 0x44]
push esi
lea ecx, [ebp]
mov dword [esi + 0x40], 0
mov dword [ebx], 0xffffffff
call fcn.0041f940
test al, al
jne 0x41ff9a
mov byte [ebp - 0x25], al
push 0x4e4178
lea eax, [ebp - 0x25]
push eax
call fcn.004435fa
cmp byte [ebp - 0x12], 0
mov dword [ebx], edi
je 0x42001c
lea ecx, [ebp + 0x248]
call fcn.00411e00
push 0
lea ecx, [ebp + 0x248]
push ecx
lea ecx, [ebp]
mov byte [ebp - 4], 0xb
call fcn.00415dd0
mov dl, byte [ebp + 0x254]
mov eax, dword [ebp + 0x260]
and dl, 1
movzx ecx, dl
neg ecx
sbb ecx, ecx
and ecx, 0xc
sub eax, ecx
cmp eax, dword [ebp + 0x264]
jbe 0x42000d
mov ecx, dword [ebp - 0x18]
push esi
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0xf000
call fcn.0041f940
push 0x4e4178
lea edx, [ebp - 0x22]
push edx
mov byte [ebp - 0x22], al
call fcn.004435fa
lea ecx, [ebp + 0x248]
mov byte [ebp - 4], 9
call fcn.00411e90
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0x78]
push 0
push eax
lea ecx, [esi + 0x7c]
call fcn.004207a0
push 2
mov ecx, esi
call fcn.0041a600
mov ecx, dword [ebx]
push eax
push 1
push ecx
push 0
lea edx, [ebp]
push edx
mov ecx, esi
call fcn.0041e270
mov byte [ebp - 0x23], al
push 0x4e4178
lea eax, [ebp - 0x23]
push eax
call fcn.004435fa
xor ecx, ecx
cmp byte [ebp - 0x24], cl
push 0
sete cl
push ecx
lea ecx, [ebp]
call fcn.0041d7b0
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x42007d
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
push 1
call eax
cmp byte [ebp - 0x11], 0
jne 0x4200a3
cmp dword [ebp + 0x364], 0x10
mov eax, dword [ebp + 0x350]
jae 0x420098
lea eax, [ebp + 0x350]
push 0
push eax
call fcn.00422780
add esp, 8
mov ecx, dword [ebp - 0x18]
add ecx, 0x7c
call fcn.00420770
mov dword [ebp - 4], 8
mov eax, 0x4200bb
ret
lea ecx, [ebp + 0x2e8]
call fcn.00422ae0
mov eax, dword [esi + 0x4c]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x420174
mov ebx, eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x1c]
mov ecx, ebx
call eax
jmp 0x4201ec
cmp dword [esi + 0x18], 0x10
jb 0x42017f
mov eax, dword [esi + 4]
jmp 0x420182
lea eax, [esi + 4]
push 0
push 0x11
push eax
lea ecx, [ebp + 0x2e8]
call fcn.00422b80
test al, al
jne 0x4201e6
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4201a4
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
lea ecx, [ebp + 0x2e8]
mov byte [ebp - 4], 6
call fcn.004179d0
lea ecx, [ebp + 0x34c]
call fcn.0040926c
lea ecx, [ebp + 0x30c]
mov byte [ebp - 4], 3
call fcn.00417c40
lea ecx, [ebp + 0x298]
mov dword [ebp - 4], 0xffffffff
call fcn.00411e90
xor al, al
jmp 0x42045a
lea ebx, [ebp + 0x2e8]
mov edx, dword [ebx]
mov eax, dword [edx + 0x14]
mov ecx, ebx
call eax
cmp byte [ebp - 0x13], 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
je 0x42021a
mov ecx, dword [esi + 0x44]
push eax
shl ecx, 0x10
push 0
or ecx, 0x100
push ecx
lea edx, [ebp + 0x298]
push edx
jmp 0x420229
mov eax, dword [esi + 0x3c]
push 0
push 0
push eax
lea ecx, [ebp + 0x298]
push ecx
mov ecx, edi
call fcn.0041d960
test al, al
je 0x420196
cmp byte [ebp - 0x27], 0
je 0x420287
push 4
mov ecx, edi
call fcn.0041a600
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x42029b
mov eax, 0x10
cmp dword [esi + 0x18], eax
jb 0x42025f
mov ecx, dword [esi + 4]
jmp 0x420262
lea ecx, [esi + 4]
cmp dword [esi + 0x34], eax
jb 0x420277
mov eax, dword [esi + 0x20]
mov edx, dword [edi]
push ecx
push eax
mov eax, dword [edx + 4]
mov ecx, edi
call eax
jmp 0x42028a
mov edx, dword [edi]
push ecx
lea eax, [esi + 0x20]
push eax
mov eax, dword [edx + 4]
mov ecx, edi
call eax
jmp 0x42028a
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x42029b
mov edx, dword [edi]
mov eax, dword [ebp - 0x2c]
mov edx, dword [edx + 8]
push eax
mov ecx, edi
call edx
mov eax, dword [esi + 0x48]
push 0
push eax
lea ecx, [ebp - 0x48]
call fcn.00420890
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x34], 0
mov eax, dword [esi + 0x48]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebx]
mov edx, dword [edx + 0x28]
push eax
push ecx
mov ecx, ebx
call edx
mov edi, eax
test edi, edi
je 0x4202ed
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x18]
push edi
push eax
call fcn.0041aa60
cmp dword [ebp - 0x1c], 0
je 0x4202ed
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push edi
call eax
test al, al
je 0x42031c
cmp edi, dword [ebp - 0x40]
je 0x4202b4
mov ecx, dword [ebp - 0x18]
push 0
call fcn.0041be50
mov ebx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x420310
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
test ebx, ebx
je 0x42037e
push 0
push ebx
call fcn.0041a4b0
cmp edi, dword [ebp - 0x40]
jne 0x42036b
mov edx, dword [ebx]
mov eax, dword [ebp - 0x44]
mov edx, dword [edx + 0x28]
push 1
push eax
mov ecx, ebx
call edx
test eax, eax
je 0x42036b
mov edi, dword [ebp - 0x18]
lea ecx, [edi + 0x88]
call fcn.004134a0
test eax, eax
jne 0x420364
cmp byte [ebp - 0x13], al
jne 0x420364
push 1
mov ecx, edi
call fcn.00415e50
push 1
mov ecx, edi
call fcn.0041be50
mov ebx, 0x6a
jmp 0x420302
mov ebx, 0x69
jmp 0x420302
mov edi, dword [ebp - 0x18]
push 0
mov ecx, edi
mov ebx, 0x6a
call fcn.0041be50
jmp 0x420302
cmp byte [ebp - 0x12], 0
je 0x420411
cmp dword [esi + 0x4c], 0
jne 0x420399
lea ecx, [ebp + 0x2e8]
call fcn.00414f00
lea ecx, [ebp - 0x48]
call fcn.00420770
push 0
mov ecx, edi
call fcn.00415e50
test al, al
je 0x420411
push esi
mov ecx, edi
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0xf000
call fcn.0041f940
lea ecx, [ebp - 0x48]
mov bl, al
mov byte [ebp - 4], 0xd
call fcn.004208c0
lea ecx, [ebp + 0x2e8]
mov byte [ebp - 4], 6
call fcn.004179d0
lea ecx, [ebp + 0x34c]
call fcn.0040926c
lea ecx, [ebp + 0x30c]
mov byte [ebp - 4], 3
call fcn.00417c40
lea ecx, [ebp + 0x298]
mov dword [ebp - 4], 0xffffffff
call fcn.00411e90
mov al, bl
jmp 0x42045a
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xd
call fcn.004208c0
lea ecx, [ebp + 0x2e8]
mov byte [ebp - 4], 6
call fcn.004179d0
lea ecx, [ebp + 0x34c]
call fcn.0040926c
lea ecx, [ebp + 0x30c]
mov byte [ebp - 4], 3
call fcn.00417c40
lea ecx, [ebp + 0x298]
mov dword [ebp - 4], 0xffffffff
call fcn.00411e90
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x368]
xor ecx, ebp
call fcn.00443ac5
add ebp, 0x36c
mov esp, ebp
pop ebp
ret 4