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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc8
mov esi, dword [esp + 0xe0]
mov eax, dword [esp + 0xdc]
lea ecx, [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x100001
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 0x4021
call fcn.0043aaa0
xor ecx, ecx
cmp eax, 0
jl 0x420362
mov dword [esp], esi
call fcn.00413a10
shl eax, 1
mov word [esp + 0xa8], ax
movzx eax, ax
add eax, 2
mov word [esp + 0xaa], ax
mov dword [esp + 0xac], esi
mov dword [esp], 0x848
call fcn.00437120
mov dword [esp + 0x60], eax
mov esi, dword [esp + 0x74]
mov al, byte [esp + 0x7c]
mov byte [esp + 0x98], al
mov word [esp + 0x54], 0xa70b
mov word [esp + 0x56], 0xa70a
xor eax, eax
cmp eax, 2
jae 0x41fcc0
mov cx, word [esp + eax*2 + 0x54]
movzx edx, cx
mov edi, eax
add edi, 0xedce7b94
mov ebx, edi
and ebx, edx
shl ebx, 1
sub edi, ebx
add di, cx
add di, 0x2360
mov word [esp + eax*2 + 0x54], di
add eax, 1
jmp 0x41fc91
mov edi, dword [esp + 0x54]
xor ebx, ebx
mov ecx, 2
cmp ebx, dword [0x446184]
jb 0x41fcd8
jmp 0x41fd92
mov ecx, dword [0x446188]
cmp dword [ecx + ebx*8], 0x7be1e2d2
sete dl
mov byte [esp + 0x3b], dl
test dl, 1
jne 0x41fcf6
jmp 0x41fd7f
mov edx, dword [ecx + ebx*8 + 4]
mov ecx, 2
cmp edx, edi
je 0x41fd81
mov eax, dword [0x44618c]
xor ecx, ecx
lea ecx, [esp + 0xc0]
lea ebp, [esp + 0xa8]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], 0x2c
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0x848
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], 0
call fcn.00438b10
mov ecx, 1
jmp 0x41fd81
xor ecx, ecx
test byte [esp + 0x3b], 1
je 0x41fd8a
jmp 0x41fd92
add ebx, 1
jmp 0x41fcc6
cmp ecx, 2
je 0x41fd99
mov edi, eax
xor esi, esi
cmp edi, 0
jl 0x42029b
xor ebx, ebx
mov dword [esp + 0x5c], 0
xor ebp, ebp
mov eax, dword [esp + 0x60]
mov dword [esp + 0x40], eax
jmp 0x41fdba
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x40]
mov edi, dword [eax + 0x3c]
shr edi, 1
mov esi, eax
add esi, 0x38
mov eax, dword [eax + 0x38]
and eax, 0x400
cmp eax, 0
sete al
test al, 1
jne 0x41fde3
jmp 0x41ffa9
mov al, byte [esp + 0x70]
mov byte [esp + 0x80], al
mov word [esp + 0x4c], 0x39c2
mov word [esp + 0x4e], 0x392d
xor eax, eax
mov dword [esp + 0xa4], ebx
cmp eax, 2
jae 0x41fe49
mov cx, word [esp + eax*2 + 0x4c]
mov edx, eax
shl edx, 1
and edx, 0x4698
mov ebx, eax
xor ebx, 0x234c
add ebx, edx
xor bx, cx
add bx, 0xe5a0
mov word [esp + eax*2 + 0x4c], bx
mov ebx, dword [esp + 0xa4]
mov ecx, eax
shl ecx, 1
xor eax, 0x84f6c293
add eax, ecx
add eax, 0x7b093d6e
jmp 0x41fe05
mov ebp, dword [esp + 0x40]
add ebp, 0x44
lea eax, [esp + 0x4c]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call fcn.00420380
cmp eax, 0
je 0x41ffa9
mov al, byte [esp + 0x6c]
mov byte [esp + 0x84], al
mov word [esp + 0x9e], 0x7a58
mov word [esp + 0xa0], 0x7a59
mov word [esp + 0xa2], 0x7a38
xor eax, eax
cmp eax, 3
jae 0x41fed5
mov cx, word [esp + eax*2 + 0x9e]
mov edx, eax
xor edx, 0xd5fa
mov ebx, eax
shl ebx, 1
and ebx, 0x540a
sub ebx, edx
xor bx, cx
add bx, 0xafd0
mov word [esp + eax*2 + 0x9e], bx
mov ebx, dword [esp + 0xa4]
add eax, 1
jmp 0x41fe98
lea eax, [esp + 0x9e]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call fcn.00420380
cmp eax, 0
jne 0x41fefa
mov ebp, dword [esp + 0x3c]
jmp 0x41ffad
mov eax, edi
add eax, 1
mov ecx, 2
mul ecx
seto dl
mov ecx, 0xffffffff
test dl, 1
jne 0x41ff15
mov ecx, eax
mov dword [esp], ecx
call fcn.00408130
mov dword [esp + 0xb0], eax
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
call fcn.00413640
mov word [eax], 0
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x28]
mov edx, dword [esi]
mov esi, dword [esp + 0xb0]
mov ecx, edx
add ecx, 1
xor edx, 0xffffffff
or edx, 0x10
add edx, ecx
xor ecx, ecx
cmp edx, 0
setne cl
mov edx, dword [esp + 0xe8]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp], esi
and ecx, 1
mov dword [esp + 4], ecx
call dword [esp + 0xe4]
and al, 1
movzx eax, al
mov ecx, dword [esp + 0x5c]
and cl, 1
movzx ecx, cl
or ecx, eax
cmp ecx, 0
setne al
and al, 1
mov dword [esp + 0x5c], eax
mov dword [esp], esi
call fcn.00408140
mov ebp, dword [esp + 0x3c]
jmp 0x41ffad
mov ebp, dword [esp + 0x3c]
cmp ebp, 0
je 0x41ffb6
mov edi, ebx
jmp 0x41ffd9
mov dword [esp], 0x10900
call fcn.00437120
mov edi, eax
cmp edi, 0
jne 0x41ffd5
xor ebp, ebp
mov eax, 2
jmp 0x42028b
mov ebp, edi
jmp 0x41ffd9
cmp edi, ebp
sete al
test al, 1
jne 0x41ffe7
jmp 0x420272
mov al, byte [esp + 0x68]
mov byte [esp + 0x88], al
mov word [esp + 0x48], 0x643c
mov word [esp + 0x4a], 0x5d3c
xor eax, eax
cmp eax, 2
jae 0x420052
movzx edx, word [esp + eax*2 + 0x48]
mov ecx, eax
xor ecx, 0x707abc23
mov esi, eax
or esi, 0x8f8543dc
and esi, ecx
mov ecx, eax
or ecx, 0x8f8543dc
add ecx, esi
xor ecx, edx
add ecx, 0x83d5e11f
mov edx, ecx
shl edx, 1
and edx, 2
mov esi, ecx
shl esi, 1
and esi, 2
add esi, 0xffff
sub ecx, esi
add ecx, edx
mov word [esp + eax*2 + 0x48], cx
add eax, 1
jmp 0x420002
mov eax, dword [esp + 0x48]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xb8], eax
mov al, byte [esp + 0x78]
mov byte [esp + 0x9c], al
mov word [esp + 0x50], 0xa70b
mov word [esp + 0x52], 0xa70a
xor eax, eax
cmp eax, 2
jae 0x4200b2
mov cx, word [esp + eax*2 + 0x50]
movzx edx, cx
mov esi, eax
add esi, 0xedce7b94
mov ebx, esi
and ebx, edx
shl ebx, 1
sub esi, ebx
add si, cx
add si, 0x2360
mov word [esp + eax*2 + 0x50], si
add eax, 1
jmp 0x420083
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0x50]
xor esi, esi
mov ecx, 2
cmp esi, dword [0x446184]
jb 0x4200ce
jmp 0x42018c
mov ecx, dword [0x446188]
cmp dword [ecx + esi*8], 0x7be1e2d2
sete bl
test bl, 1
jne 0x4200e8
jmp 0x42017b
mov edx, dword [ecx + esi*8 + 4]
mov ecx, 2
cmp edx, ebp
je 0x42017d
mov eax, dword [0x44618c]
xor ecx, ecx
lea ecx, [esp + 0xc0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], 0x2c
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], 0
lea eax, [esp + 0xa8]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0
call fcn.00438b10
mov ecx, 1
jmp 0x42017d
xor ecx, ecx
test bl, 1
je 0x420184
jmp 0x42018c
add esi, 1
jmp 0x4200bc
cmp ecx, 2
je 0x420193
mov ebp, eax
mov al, byte [esp + 0x64]
mov byte [esp + 0x8c], al
mov word [esp + 0x44], 0x2f5b
mov word [esp + 0x46], 0xaf5f
xor eax, eax
cmp eax, 2
jae 0x420210
movzx edx, word [esp + eax*2 + 0x44]
mov ecx, eax
and ecx, 0x8d30de2c
mov esi, eax
and esi, 0x8d30de2c
mov ebx, eax
and ebx, 2
xor ebx, 2
imul ebx, esi
mov esi, eax
and esi, 2
or ecx, 2
imul ecx, esi
add ecx, ebx
mov esi, eax
xor esi, 0x8d30de2e
add ecx, esi
xor ecx, edx
mov edx, ecx
and edx, 0xf171
xor edx, 0xf171
and ecx, 0xe8e
sub ecx, edx
add cx, 1
mov word [esp + eax*2 + 0x44], cx
add eax, 1
jmp 0x4201ae
cmp ebp, dword [esp + 0x44]
sete al
test al, 1
jne 0x42021d
jmp 0x420249
xor eax, eax
mov edx, edi
jmp 0x420223
mov ecx, edx
mov esi, dword [ecx]
cmp esi, 0
je 0x42023a
shr esi, 2
shl esi, 2
mov edx, ecx
add edx, esi
mov eax, ecx
jmp 0x420223
cmp eax, 0
je 0x420245
mov dword [eax], 0
xor ebp, ebp
jmp 0x420249
cmp ebp, 0
jge 0x420261
mov ebp, dword [esp + 0x3c]
mov dword [esp], ebp
call fcn.00437140
mov eax, 2
jmp 0x420269
mov ebp, dword [esp + 0x3c]
xor eax, eax
jmp 0x420269
cmp eax, 0
je 0x420272
mov ebx, edi
jmp 0x42028b
mov eax, dword [edi]
cmp eax, 0
je 0x42027f
mov ebx, edi
add ebx, eax
jmp 0x420283
mov ebx, ebp
jmp 0x420283
xor eax, eax
mov dword [esp + 0x40], edi
jmp 0x42028b
test eax, eax
je 0x41fdba
jmp 0x420295
mov esi, dword [esp + 0x5c]
jmp 0x42029b
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.00437140
mov eax, dword [esp + 0x74]
mov dword [esp + 0xb4], eax
mov al, byte [esp + 0x90]
mov byte [esp + 0x94], al
mov word [esp + 0x58], 0xa70b
mov word [esp + 0x5a], 0xa70a
xor eax, eax
cmp eax, 2
jae 0x4202ff
mov cx, word [esp + eax*2 + 0x58]
movzx edx, cx
mov edi, eax
add edi, 0xedce7b94
mov ebx, edi
and ebx, edx
shl ebx, 1
sub edi, ebx
add di, cx
add di, 0x2360
mov word [esp + eax*2 + 0x58], di
add eax, 1
jmp 0x4202d0
mov edi, dword [esp + 0x58]
xor ebp, ebp
cmp ebp, dword [0x446184]
jb 0x42030f
jmp 0x42035e
mov eax, dword [0x446188]
cmp dword [eax + ebp*8], 0xb430e561
sete bl
test bl, 1
jne 0x420325
jmp 0x420352
mov eax, dword [eax + ebp*8 + 4]
cmp eax, edi
je 0x420352
mov ecx, dword [0x44618c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xc], eax
call fcn.00438b10
test bl, 1
je 0x420359
jmp 0x42035e
add ebp, 1
jmp 0x420305
mov ecx, esi
jmp 0x420362
and cl, 1
movzx eax, cl
add esp, 0xc8
pop esi
pop edi
pop ebx
pop ebp
ret