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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x57a040]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
push ebx
push esi
push edi
mov esi, dword [eax + 0x3d0]
lea ebx, [ecx + 0x20]
xor edi, edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], ecx
add esi, 4
mov dword [esp + 0x14], 0x2000
nop word [eax + eax]
movzx eax, word [esi]
mov edx, eax
test ax, ax
js 0x42dfe0
cmp dx, word [esp + 0x14]
jge 0x42dfe0
mov edx, 0x1a87
cmp ax, dx
jne 0x42df03
inc ecx
mov dword [esp + 0x1c], 8
xor edi, edi
jmp 0x42dfe0
mov edx, 0x1a88
cmp ax, dx
jne 0x42df1d
inc ecx
mov dword [esp + 0x1c], 9
xor edi, edi
jmp 0x42dfe0
mov edx, 0x1a89
cmp ax, dx
jne 0x42df37
inc ecx
mov dword [esp + 0x1c], 7
xor edi, edi
jmp 0x42dfe0
mov edx, 0x1a8a
cmp ax, dx
jne 0x42df51
inc ecx
mov dword [esp + 0x1c], 0xa
xor edi, edi
jmp 0x42dfe0
mov edx, 0x1a8b
cmp ax, dx
jne 0x42df60
inc ecx
xor edi, edi
jmp 0x42dfd8
mov edx, 0x1a8c
cmp ax, dx
jne 0x42df7a
inc ecx
mov dword [esp + 0x1c], 8
mov edi, 1
jmp 0x42dfe0
mov edx, 0x1a8d
cmp ax, dx
jne 0x42df94
inc ecx
mov dword [esp + 0x1c], 9
mov edi, 1
jmp 0x42dfe0
mov edx, 0x1a8e
cmp ax, dx
jne 0x42dfae
inc ecx
mov dword [esp + 0x1c], 7
mov edi, 1
jmp 0x42dfe0
mov edx, 0x1a8f
cmp ax, dx
jne 0x42dfc8
inc ecx
mov dword [esp + 0x1c], 0xa
mov edi, 1
jmp 0x42dfe0
mov edx, 0x1a90
cmp ax, dx
jne 0x42dfe0
inc ecx
mov edi, 1
mov dword [esp + 0x1c], 0xb
add esi, 0x10c
sub ebx, 1
jne 0x42ded0
cmp ecx, 1
je 0x42e007
mov esi, dword [esp + 0x30]
mov dword [esp + 0x40], 0x78610c1
mov esi, dword [esi]
jmp 0x42e0c4
mov ebx, dword [0x9f4360]
mov byte [esp + 0x20], 0
mov byte [esp + 0x21], 0
mov byte [esp + 0x22], 0
mov esi, dword [ebx]
mov byte [esp + 0x23], 0
mov byte [esp + 0x1b], 0
mov byte [esp + 0x13], 0
mov dword [esp + 0x7c], 0xffffffff
mov byte [esp + 0x80], 0xff
cmp esi, ebx
je 0x42e0b6
mov ecx, dword [esi + 0x14]
movzx eax, cx
mov dword [esp + 0x14], eax
mov eax, ecx
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
cmp eax, dword [esp + 0x1c]
jne 0x42e076
cmp dword [esi + 0x18], edi
jne 0x42e076
push ecx
push dword [esp + 0x34]
call fcn.0049d030
test al, al
jne 0x42e112
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x42e09c
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x42e098
cmp esi, dword [eax + 8]
jne 0x42e098
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x42e088
mov esi, eax
jmp 0x42e0b2
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x42e0b2
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x42e0a6
cmp esi, ebx
jne 0x42e041
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], 0x8610c1
mov esi, dword [eax]
mov al, 0x10
mov dword [esp + 0x44], 0xffffffff
movzx eax, al
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x4c], 0xffffffff
push eax
push esi
mov dword [esp + 0x58], 0xffffffff
call fcn.005192f0
mov eax, dword [esi*4 + 0x20a514c]
mov dword [eax + 0x3e0], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x14]
mov ecx, 0x9f4360
movzx eax, ax
movzx edi, ax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x18], edi
push eax
call fcn.00405650
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0xd], 0
jne 0x42e147
cmp edi, dword [eax + 0x10]
jge 0x42e149
mov eax, ebx
cmp eax, ebx
je 0x42e160
lea ecx, [esp + 0x20]
push ecx
push dword [eax + 0x20]
call fcn.004a86a0
mov ebx, dword [0x9f4360]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edi
push eax
lea eax, [esp + 0x28]
mov ecx, 0x9f4360
push eax
call fcn.00405650
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0xd], 0
jne 0x42e187
cmp edi, dword [eax + 0x10]
jge 0x42e189
mov eax, ebx
cmp eax, ebx
je 0x42e1a0
lea ecx, [esp + 0x21]
push ecx
push dword [eax + 0x24]
call fcn.004a8830
mov ebx, dword [0x9f4360]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edi
push eax
lea eax, [esp + 0x28]
mov ecx, 0x9f4360
push eax
call fcn.00405650
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0xd], 0
jne 0x42e1c7
cmp edi, dword [eax + 0x10]
jge 0x42e1c9
mov eax, ebx
cmp eax, ebx
je 0x42e1e0
lea ecx, [esp + 0x22]
push ecx
push dword [eax + 0x28]
call fcn.004a89c0
mov ebx, dword [0x9f4360]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edi
push eax
lea eax, [esp + 0x28]
mov ecx, 0x9f4360
push eax
call fcn.00405650
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0xd], 0
jne 0x42e207
cmp edi, dword [eax + 0x10]
jge 0x42e209
mov eax, ebx
cmp eax, ebx
je 0x42e220
lea ecx, [esp + 0x23]
push ecx
push dword [eax + 0x2c]
call fcn.004a8b50
mov ebx, dword [0x9f4360]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edi
push eax
lea eax, [esp + 0x28]
mov ecx, 0x9f4360
push eax
call fcn.00405650
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0xd], 0
jne 0x42e247
cmp edi, dword [eax + 0x10]
jge 0x42e249
mov eax, ebx
cmp eax, ebx
je 0x42e260
lea ecx, [esp + 0x1b]
push ecx
push dword [eax + 0x30]
call fcn.004a8ce0
mov ebx, dword [0x9f4360]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edi
push eax
lea eax, [esp + 0x28]
mov ecx, 0x9f4360
push eax
call fcn.00405650
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0xd], 0
jne 0x42e287
cmp edi, dword [eax + 0x10]
jge 0x42e289
mov eax, ebx
cmp eax, ebx
je 0x42e2a0
lea ecx, [esp + 0x13]
push ecx
push dword [eax + 0x34]
call fcn.004a8e70
mov ebx, dword [0x9f4360]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edi
push eax
lea eax, [esp + 0x28]
mov ecx, 0x9f4360
push eax
call fcn.00405650
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0xd], 0
jne 0x42e2c7
cmp edi, dword [eax + 0x10]
jge 0x42e2c9
mov eax, ebx
cmp eax, ebx
je 0x42e2da
lea ecx, [esp + 0x7c]
push ecx
push dword [eax + 0x38]
call fcn.004a9000
lea eax, [esp + 0x1b]
push eax
movzx eax, byte [esp + 0x1f]
push eax
push edi
call fcn.004a9190
movzx ebx, byte [esp + 0x13]
push edi
mov dword [esp + 0x20], ebx
call fcn.00505bb0
test eax, eax
je 0x42e372
test ebx, ebx
je 0x42e372
xor ebx, ebx
mov byte [esp + 0x13], 0
lea esi, [ebx + 8]
nop dword [eax]
push edi
call fcn.00505bb0
test eax, eax
je 0x42e348
cmp ebx, 1
ja 0x42e348
cmp dword [eax + esi], 0
jle 0x42e348
mov eax, dword [esp + 0x1c]
dec eax
cmp ebx, eax
jne 0x42e348
cmp byte [esp + 0x13], 0
je 0x42e33e
call fcn.00526930
test al, 1
jne 0x42e348
mov al, bl
inc al
mov byte [esp + 0x13], al
jmp 0x42e34c
mov al, byte [esp + 0x13]
add esi, 4
inc ebx
cmp esi, 0x10
jl 0x42e310
test al, al
je 0x42e368
mov ecx, dword [esp + 0x1c]
shl ecx, 2
or cl, al
mov dword [esp + 0x1c], ecx
jmp 0x42e377
xor ecx, ecx
or cl, al
mov dword [esp + 0x1c], ecx
jmp 0x42e377
mov byte [esp + 0x1c], 0
movzx ebx, byte [esp + 0x7c]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x38], ebx
push eax
mov ecx, 0xbf3310
mov dword [esp + 0x1c], edi
call fcn.00405650
mov eax, dword [esp + 0x2c]
mov esi, dword [0xbf3310]
cmp byte [eax + 0xd], 0
jne 0x42e3ad
cmp edi, dword [eax + 0x10]
jge 0x42e3af
mov eax, esi
cmp eax, esi
je 0x42e4ac
test ebx, ebx
je 0x42e4ac
cmp ebx, 0xff
je 0x42e4ac
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edi
push eax
lea eax, [esp + 0x28]
mov ecx, 0xbf3310
push eax
call fcn.00405650
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0xd], 0
jne 0x42e3f2
cmp edi, dword [eax + 0x10]
jge 0x42e3f4
mov eax, esi
cmp eax, esi
jne 0x42e425
mov eax, 5
cmp ebx, eax
cmova ebx, eax
test ebx, ebx
je 0x42e4bc
push ebx
lea eax, [esp + 0x80]
push 0xfe
push eax
call fcn.0052bd20
add esp, 0xc
jmp 0x42e4bc
xor ebx, ebx
mov dword [esp + 0x14], edi
nop dword [eax + eax]
lea eax, [esp + 0x14]
mov ecx, 0xbf3310
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00405650
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0xd], 0
jne 0x42e453
cmp edi, dword [eax + 0x10]
jge 0x42e455
mov eax, esi
cmp eax, esi
jne 0x42e45d
xor eax, eax
jmp 0x42e460
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jle 0x42e49e
lea eax, [esp + 0x38]
mov dword [esp + 0x38], edi
push eax
lea eax, [esp + 0x44]
mov ecx, 0xbf3310
push eax
call fcn.00405650
mov eax, dword [esp + 0x48]
cmp byte [eax + 0xd], 0
jne 0x42e48f
cmp edi, dword [eax + 0x10]
jge 0x42e491
mov eax, esi
cmp eax, esi
jne 0x42e499
xor eax, eax
jmp 0x42e4a0
mov eax, dword [eax + 0x18]
jmp 0x42e4a0
mov eax, ecx
cmp ebx, eax
jge 0x42e4bc
mov byte [esp + ebx + 0x7c], 0xfe
inc ebx
jmp 0x42e430
mov dword [esp + 0x7c], 0xffffffff
mov byte [esp + 0x80], 0xff
mov ebx, dword [esp + 0x30]
mov edi, dword [ebx]
mov ecx, edi
mov esi, dword [edi*4 + 0x20a514c]
lea edx, [esi + 0x7b]
call fcn.0051f8f0
test al, al
je 0x42e59c
mov word [esp + 0x50], 0x2cc1
mov ecx, 0x7509e0
mov byte [esp + 0x52], 7
mov word [esp + 0x54], di
movq xmm0, qword [esi + 0x7b]
movq qword [esp + 0x56], xmm0
mov ax, word [esi + 0x83]
mov word [esp + 0x5e], ax
mov al, byte [esi + 0x85]
mov byte [esp + 0x60], al
mov eax, dword [esp + 0x3c]
mov word [esp + 0x64], ax
mov al, byte [esp + 0x20]
mov byte [esp + 0x66], al
mov al, byte [esp + 0x21]
mov byte [esp + 0x68], al
mov al, byte [esp + 0x22]
mov byte [esp + 0x69], al
mov al, byte [esp + 0x23]
mov byte [esp + 0x6a], al
mov al, byte [esp + 0x1b]
mov byte [esp + 0x6b], al
mov eax, 0xffff
mov word [esp + 0x6c], ax
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x6e], al
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x71], eax
mov al, byte [esp + 0x80]
mov byte [esp + 0x75], al
lea eax, [esp + 0x50]
push 0x2c
push eax
mov word [esp + 0x69], 0
mov byte [esp + 0x6b], 0xff
mov byte [esp + 0x6f], 0xff
mov word [esp + 0x77], 0
mov byte [esp + 0x7e], 0xff
mov dword [esp + 0x80], 0
call fcn.00440610
push dword [ebx + 0x3d8]
lea eax, [ebx + 0x86]
push dword [ebx + 0x3dc]
push eax
lea eax, [ebx + 0x7b]
push eax
push str._LuckyItemCreateMix__Success___s___s_____ChaosSuccessRate:__d__ChaosMoney:__d_
push 7
push 0x9f30a0
call fcn.004b2600
mov ecx, dword [esp + 0xa0]
add esp, 0x1c
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret 4